Train compile errors

Hi,

Got the latest Train from Github to give Train a try. I got this error trying to compile. I tried both withing VS / Water and msbuild cmd line. Using Elements 10.0.0.2407

C:\code\train-master>msbuild Train.sln /p:Configuration=Release
Microsoft ® Build Engine version 4.7.3062.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright © Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the “/m” switch.
Build started 17/06/2019 13:12:05.
Project “C:\code\train-master\Train.sln” on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration “Release|AnyCPU”.
Project “C:\code\train-master\Train.sln” (1) is building “C:\code\train-master\Script\Source\RemObjects.Script\RemObjects.Script.oxygene” (2) on node 1 (defaul
t targets).
C:\Program Files (x86)\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Echoes.targets(53,3): EBuild warning : Content ‘C:\code\train-master\Script\So
urce\RemObjects.Script\EcmaScript\EcmaScriptComponent.png’ does not exist. [C:\code\train-master\Script\Source\RemObjects.Script\RemObjects.Script.oxygene]
Reference ‘mscorlib’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\mscorlib.dll’ for target ‘Echoes’
.
Reference ‘System’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.dll’ for target ‘Echoes’.
Reference ‘System.Core’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll’ via ‘HintPath’ for target ’
Echoes’.
Reference ‘System.Data’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Data.dll’ for target ‘E
choes’.
Reference ‘System.Drawing’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Drawing.dll’ for tar
get ‘Echoes’.
Reference ‘System.Windows.Forms’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Windows.Forms.
dll’ for target ‘Echoes’.
Reference ‘System.Xml’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Xml.dll’ for target ‘Ech
oes’.
Reference ‘System.Xml.Linq’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Xml.Linq.dll’ for t
arget ‘Echoes’.
RemObjects Elements (Oxygene, C#, Swift and Java) Compiler for .NET, Cocoa, Java and Island.
Version 10.0.0.2407 (develop) built on talax, 20190524-131250. Commit 135adc4.
Copyright 2003-2019 RemObjects Software, LLC. All rights reserved.
C:\code\train-master\Script\Source\RemObjects.Script\EcmaScript\Objects\Array.pas(21,61,21,67): EBuild error E368: Type “System.Action3" is defined in multip le references: System.Core, mscorlib [C:\code\train-master\Script\Source\RemObjects.Script\RemObjects.Script.oxygene] C:\code\train-master\Script\Source\RemObjects.Script\EcmaScript\Objects\Array.pas(21,61,21,67): EBuild error E368: Type "System.Action" is defined in multiple references: System.Core, mscorlib [C:\code\train-master\Script\Source\RemObjects.Script\RemObjects.Script.oxygene] C:\code\train-master\Script\Source\RemObjects.Script\EcmaScript\Objects\Array.pas(21,61,21,88): EBuild error E28: Unknown type "Action" [C:\code\train-master\ Script\Source\RemObjects.Script\RemObjects.Script.oxygene] C:\code\train-master\Script\Source\RemObjects.Script\EcmaScript\Objects\Array.pas(21,101,21,105): EBuild error E368: Type "System.Func4” is defined in multip
le references: System.Core, mscorlib [C:\code\train-master\Script\Source\RemObjects.Script\RemObjects.Script.oxygene]
C:\code\train-master\Script\Source\RemObjects.Script\EcmaScript\Objects\Array.pas(21,101,21,135): EBuild error E28: Unknown type “Func” [C:\code\train-master
Script\Source\RemObjects.Script\RemObjects.Script.oxygene]
Done Building Project “C:\code\train-master\Script\Source\RemObjects.Script\RemObjects.Script.oxygene” (default targets) – FAILED.

Project “C:\code\train-master\Train.sln” (1) is building “C:\code\train-master\RemObjects.Train\RemObjects.Train.elements” (3) on node 1 (default targets).
Build:
Reference ‘AWSSDK’ was resolved to ‘C:\code\train-master\RemObjects.Train\Libraries\AWSSDK.dll’ via ‘HintPath’ for target ‘Echoes’.
Reference ‘DiscUtils’ was resolved to ‘C:\code\train-master\RemObjects.Train\Libraries\DiscUtils.dll’ via ‘HintPath’ for target ‘Echoes’.
Reference ‘mscorlib’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\mscorlib.dll’ for target ‘Echoes’
.
Reference ‘Renci.SshNet’ was resolved to ‘C:\code\train-master\RemObjects.Train\Libraries\Renci.SshNet.dll’ via ‘HintPath’ for target ‘Echoes’.
Reference ‘System’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.dll’ for target ‘Echoes’.
Reference ‘System.Data’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Data.dll’ for target ‘E
choes’.
Reference ‘System.Xml’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Xml.dll’ for target ‘Ech
oes’.
Reference ‘System.Core’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Core.dll’ for target ‘E
choes’.
Reference ‘System.Xml.Linq’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Xml.Linq.dll’ for t
arget ‘Echoes’.
Reference ‘System.Data.DataSetExtensions’ was resolved to ‘C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Data.
DataSetExtensions.dll’ for target ‘Echoes’.
Reference ‘Elements’ was resolved to ‘C:\Program Files (x86)\RemObjects Software\Elements\References\Echoes\NET\Elements.dll’ via XML for target ‘Echoes’.
C:\Program Files (x86)\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Echoes.targets(53,3): EBuild error : Project Reference ‘…\Script\Source\RemOb
jects.Script\RemObjects.Script.oxygene’ could not be resolved for target ‘Echoes’ (Echoes .NET anycpu). [C:\code\train-master\RemObjects.Train\RemObjects.Train
.elements]
Reference ‘Echoes’ was resolved to ‘C:\Program Files (x86)\RemObjects Software\Elements\References\Echoes\NET\Echoes.dll’ via XML for target ‘Echoes’.
Done Building Project “C:\code\train-master\RemObjects.Train\RemObjects.Train.elements” (default targets) – FAILED.

Done Building Project “C:\code\train-master\Train.sln” (default targets) – FAILED.

Build FAILED.

“C:\code\train-master\Train.sln” (default target) (1) ->
“C:\code\train-master\Script\Source\RemObjects.Script\RemObjects.Script.oxygene” (default target) (2) ->
(Build target) ->
C:\Program Files (x86)\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Echoes.targets(53,3): EBuild warning : Content ‘C:\code\train-master\Script
Source\RemObjects.Script\EcmaScript\EcmaScriptComponent.png’ does not exist. [C:\code\train-master\Script\Source\RemObjects.Script\RemObjects.Script.oxygene]

“C:\code\train-master\Train.sln” (default target) (1) ->
“C:\code\train-master\Script\Source\RemObjects.Script\RemObjects.Script.oxygene” (default target) (2) ->
(Build target) ->
C:\code\train-master\Script\Source\RemObjects.Script\EcmaScript\Objects\Array.pas(21,61,21,67): EBuild error E368: Type “System.Action3" is defined in mult iple references: System.Core, mscorlib [C:\code\train-master\Script\Source\RemObjects.Script\RemObjects.Script.oxygene] C:\code\train-master\Script\Source\RemObjects.Script\EcmaScript\Objects\Array.pas(21,61,21,67): EBuild error E368: Type "System.Action" is defined in multip le references: System.Core, mscorlib [C:\code\train-master\Script\Source\RemObjects.Script\RemObjects.Script.oxygene] C:\code\train-master\Script\Source\RemObjects.Script\EcmaScript\Objects\Array.pas(21,61,21,88): EBuild error E28: Unknown type "Action" [C:\code\train-maste r\Script\Source\RemObjects.Script\RemObjects.Script.oxygene] C:\code\train-master\Script\Source\RemObjects.Script\EcmaScript\Objects\Array.pas(21,101,21,105): EBuild error E368: Type "System.Func4” is defined in mult
iple references: System.Core, mscorlib [C:\code\train-master\Script\Source\RemObjects.Script\RemObjects.Script.oxygene]
C:\code\train-master\Script\Source\RemObjects.Script\EcmaScript\Objects\Array.pas(21,101,21,135): EBuild error E28: Unknown type “Func” [C:\code\train-maste
r\Script\Source\RemObjects.Script\RemObjects.Script.oxygene]

“C:\code\train-master\Train.sln” (default target) (1) ->
“C:\code\train-master\RemObjects.Train\RemObjects.Train.elements” (default target) (3) ->
C:\Program Files (x86)\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Echoes.targets(53,3): EBuild error : Project Reference ‘…\Script\Source\Rem
Objects.Script\RemObjects.Script.oxygene’ could not be resolved for target ‘Echoes’ (Echoes .NET anycpu). [C:\code\train-master\RemObjects.Train\RemObjects.Tra
in.elements]

1 Warning(s)
6 Error(s)

Time Elapsed 00:00:05.60

Hi,

my apologies, this should be fixed now.

Thanks Carlo,

That fixed it. :slight_smile:

1 Like