We have a huge solution with both Oxygene and VC# projects. All targeting .NET.
We moved recently to Elements10 and because we have some projects that have post/pre build events and some projects that have Nuget packages that have multiple .targets imports we converted all over Oxygene projects to use the legacy targets.
In a previous related issue I was told that normally Ebuild projects should work just fine except for those couple of exceptions. So I started to convert some projects back to EBuild oxygene projects.
That works perfectly fine in VS2019, but when the sln is build on our build server the build fails:
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\RemObjects Software\Elements\RemObjects.Elements.targets(53,3): EBuild error : Project Reference ‘…\Common\DataModel\DataModel.oxygene’ could not be resolved for target ‘Echoes’ (Echoes .NET anycpu).
DataModel.oxygene is a legacy project
Any idea what could be causing this?