Visual Studio msbuild

Posted by user62958 on Stack Overflow See other posts from Stack Overflow or by user62958
Published on 2009-02-27T18:58:46Z Indexed on 2010/04/19 19:13 UTC
Read the original article Hit count: 441

Filed under:
|

I have a question regarding the commandline options of msbuild. I am currently using msbuild to build projects using the existing solution files. These solution files have references to external dll which have different paths on each machine. I am currently writing a build script and passing the specific path to the project file via the /p: switch of msbuild.

My current build line is: msbuild test.sln /p:ReferencePath="c:\abc" /p:ReferencePath="c:\rca"

What i have noticed that Reference Path now contains only c:\rca and not c:\abc. this is causing problems for me since, the external dlls lie in two different directorys. I am allowed to keep multiple reference paths via visual studio, but not via the commandline.

Is there any known way by which i can do this

© Stack Overflow or respective owner

Related posts about msbuild

Related posts about visual-studio