By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,636 Members | 1,945 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,636 IT Pros & Developers. It's quick & easy.

Msbuild - Multiple Reference Paths via commandline

P: n/a
Hi Group,

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

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.

-I can't change the solution file.
-I can only use the msbuild commandline.


Feb 15 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Has anyone found a solution to this? I'm experiencing it as well and
need to be able to specify multiple reference paths.


Mar 7 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.