How to resolve project dependencies when using MSBuild
Posted: Tue Mar 27, 2012 1:31 pm
Hello,
we have a Ranorex solution with three testsuite projects sharing some modules.
- SolutionAB
- - Project A (testsuite using modules of project A, B and C)
- - Project B (testsuite using modules of project B and C)
- - Project C (utilities only used in A and C)
When building this solution in RanorexStudio there is no problem.
But we are also using MSBuild to build the the solution in our CI process. Here we are facing dependecy problems since MSBuild starts with building Project A but needs the assemblies of B and C.
VisualStudio2010 is able to resolve these dependencies and adds them to the solution file. Is something similar also possible for RanorexStudio/SharpDevelop?
At the moment we manually added the dependencies to the ...VS10.sln file and using this for build the testsuite with MSBuild. But every time we are changing the rxsln soultion in RanorexStudio these changes are overwritten.
Do you have any ideas on how to handle these dependencies when using MSBuild?
we have a Ranorex solution with three testsuite projects sharing some modules.
- SolutionAB
- - Project A (testsuite using modules of project A, B and C)
- - Project B (testsuite using modules of project B and C)
- - Project C (utilities only used in A and C)
When building this solution in RanorexStudio there is no problem.
But we are also using MSBuild to build the the solution in our CI process. Here we are facing dependecy problems since MSBuild starts with building Project A but needs the assemblies of B and C.
VisualStudio2010 is able to resolve these dependencies and adds them to the solution file. Is something similar also possible for RanorexStudio/SharpDevelop?
At the moment we manually added the dependencies to the ...VS10.sln file and using this for build the testsuite with MSBuild. But every time we are changing the rxsln soultion in RanorexStudio these changes are overwritten.
Do you have any ideas on how to handle these dependencies when using MSBuild?