I have a solution from Visual Studio, that I have started coding in Water. Really nice and fast
There seems to be a problem with project references. In the build log (Ebuild) it is not able to find the referenced project. Here is an example from the build log:
Project for reference '..\HDSMDB.Service\HDSMDB.Service.elements' was not found in the solution.
Project Reference '..\HDSMDB.Service\HDSMDB.Service.elements' was resolved to 'C:\SVN\Home\HD-SMDB\HDSMDB.Service\bin\Release\HDSMDB.Service.dll' via 'HintPath' for target 'Echoes'.
How should this work? I would think that it should build the referenced projects and copy local as required.
Now it seems to use the already compiled binaries from the HintPath - so it is hardcoded to Debug or Release folder.
Another thing: In the References section in the Water Project Tree the project reference is shown like this:
if both projects are in the solution, the reference will get connected via the ID (and the build order will be set accordingly)
if the referenced project is not in the solution, EBuild will still pick up a valid HintPath
starting with the next build:
if the project is not in the solution and the hint path is invalid, but the project can be located fie the provided pat to the .elements, EBuild will implicitly load it into the solution (and build it in the right order, as if it had been in the .sln.
Is there any chance I could take a look at your solution (you can mail it, I’ll beep it confidential) to see what’s failing in your case? I take it both projects are in the .sln file?
Hmm, your solution compiles fine for me, in EBuild:
Build order:
HDSMDB.Service
HDSMDB.Test
HDWSTRUST
HDSMDB.Common
HDSMDB.Client
all fine projects build successfully:
-> Task RemObjects.EBuild.Elements.ElementsResolveEchoesReferencesForTarget started for HDSMDB.Client, Echoes.
Reference 'mscorlib' was resolved to '/Users/mh/Code/Fire Support/_NETFramework/v4.5.2/mscorlib.dll' for target 'Echoes'.
Reference 'RemObjects.DataAbstract' was resolved to '/Users/mh/bin/RemObjects Data Abstract - Mac Zip Distro - master-20180321-155100 - 9.4.107.1363/Echoes/RemObjects.DataAbstract.dll' via XML for target 'Echoes'.
Reference 'RemObjects.DataAbstract.Server' was resolved to '/Users/mh/bin/RemObjects Data Abstract - Mac Zip Distro - master-20180321-155100 - 9.4.107.1363/Echoes/RemObjects.DataAbstract.Server.dll' via XML for target 'Echoes'.
Reference 'System' was resolved to '/Users/mh/Code/Fire Support/_NETFramework/v4.5.2/System.dll' for target 'Echoes'.
Reference 'System.Data' was resolved to '/Users/mh/Code/Fire Support/_NETFramework/v4.5.2/System.Data.dll' for target 'Echoes'.
Reference 'System.Xml' was resolved to '/Users/mh/Code/Fire Support/_NETFramework/v4.5.2/System.Xml.dll' for target 'Echoes'.
Reference 'System.Core' was resolved to '/Users/mh/Code/Fire Support/_NETFramework/v4.5.2/System.Core.dll' for target 'Echoes'.
Reference 'System.Xml.Linq' was resolved to '/Users/mh/Code/Fire Support/_NETFramework/v4.5.2/System.Xml.Linq.dll' for target 'Echoes'.
Reference 'System.Data.DataSetExtensions' was resolved to '/Users/mh/Code/Fire Support/_NETFramework/v4.5.2/System.Data.DataSetExtensions.dll' for target 'Echoes'.
D: Using target Echoes of project reference HDSMDB.Common
D: Using target Echoes of project reference HDSMDB.Service
<- Task RemObjects.EBuild.Elements.ElementsResolveEchoesReferencesForTarget finished for HDSMDB.Client, Echoes, took 0.0364s (0.0392s).
(I can confirm that the resolved reference shows twice nested in the tree-view; I’ll investigate why that happens, tomorrow, but that’s purely cosmetic…)
-> Task RemObjects.EBuild.Elements.ElementsCheckForTargetlessReferences started.
<- Task RemObjects.EBuild.Elements.ElementsCheckForTargetlessReferences finished, took 0,0000s (0,0000s).
-> Task RemObjects.EBuild.Elements.ElementsResolveReferences started.
-> Target Echoes started.
-> Task RemObjects.EBuild.Elements.ElementsProcessNuGetReferences started, Echoes.
<- Task RemObjects.EBuild.Elements.ElementsProcessNuGetReferences finished, Echoes, took 0,0000s (0,0000s).
-> Task RemObjects.EBuild.Elements.ElementsResolveEchoesReferencesForTarget started, Echoes.
Reference 'mscorlib' was resolved to 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\mscorlib.dll' for target 'Echoes'.
Reference 'RemObjects.DataAbstract' was resolved to 'C:\Program Files (x86)\RemObjects Software\Data Abstract for .NET\Bin\RemObjects.DataAbstract.dll' via 'HintPath' for target 'Echoes'.
Reference 'RemObjects.DataAbstract.Async' was resolved to 'C:\Program Files (x86)\RemObjects Software\Data Abstract for .NET\Bin\RemObjects.DataAbstract.Async.dll' via 'HintPath' for target 'Echoes'.
Reference 'RemObjects.DataAbstract.Server' was resolved to 'C:\Program Files (x86)\RemObjects Software\Data Abstract for .NET\Bin\RemObjects.DataAbstract.Server.dll' via 'HintPath' for target 'Echoes'.
Reference 'RemObjects.SDK' was resolved to 'C:\Program Files (x86)\RemObjects Software\Data Abstract for .NET\Bin\RemObjects.SDK.dll' via 'HintPath' for target 'Echoes'.
Reference 'RemObjects.SDK.Server' was resolved to 'C:\Program Files (x86)\RemObjects Software\RemObjects SDK for .NET\Bin\RemObjects.SDK.Server.dll' via 'HintPath' for target 'Echoes'.
Reference 'RemObjects.SDK.ZLib' was resolved to 'C:\Program Files (x86)\RemObjects Software\Data Abstract for .NET\Bin\RemObjects.SDK.ZLib.dll' via 'HintPath' for target 'Echoes'.
Reference 'System' was resolved to 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.dll' for target 'Echoes'.
Reference 'System.Data' was resolved to 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Data.dll' for target 'Echoes'.
Reference 'System.Runtime.Serialization' was resolved to 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Runtime.Serialization.dll' for target 'Echoes'.
Reference 'System.Security' was resolved to 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Security.dll' for target 'Echoes'.
Reference 'System.Xml' was resolved to 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Xml.dll' for target 'Echoes'.
Reference 'System.Core' was resolved to 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Core.dll' for target 'Echoes'.
Reference 'System.Xml.Linq' was resolved to 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Xml.Linq.dll' for target 'Echoes'.
Reference 'System.Data.DataSetExtensions' was resolved to 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Data.DataSetExtensions.dll' for target 'Echoes'.
Project for reference '..\HDSMDB.Service\HDSMDB.Service.elements' was not found in the solution.
Project Reference '..\HDSMDB.Service\HDSMDB.Service.elements' was resolved to 'C:\SVN\Home\HD-SMDB\HDSMDB.Service\bin\Release\HDSMDB.Service.dll' via 'HintPath' for target 'Echoes'.
<- Task RemObjects.EBuild.Elements.ElementsResolveEchoesReferencesForTarget finished, Echoes, took 0,0180s (0,0180s).
<- Target Echoes finished.
<- Task RemObjects.EBuild.Elements.ElementsResolveReferences finished, took 0,0200s (0,0200s).
As you see from my previous post, when I press the References node in the project tree (in Water), it writes that it cannot find the project in the solution.
This is different from when you build in Fire, if I look at your log.
Should it not work like in Fire?
So it uses the hint path which is fine, except it is hard coded to either the debug or build path.
it should be the same; yes. it looks like not can’t see the project at all. Can I see (a) the full build log (the top lists all projects) and also see what the <ProjectReference now looks like?