Why doesn't the AdditionalLibPaths parameter work in MSBuild?

Posted by AngryHacker on Stack Overflow See other posts from Stack Overflow or by AngryHacker
Published on 2010-04-19T20:16:03Z Indexed on 2010/04/20 23:53 UTC
Read the original article Hit count: 462

I am trying to specify an additional folder to look for references when doing a command-line compile with MSBuild.

The command line is as follows:

msbuild C:\LUR.NET\LurReports.sln /t:Rebuild
               /p:AdditionalLibPaths=C:\Radio;TargetFrameworkVersion=v2.0 

For whatever reasons, msbuild completely ignores the C:\Radio folder when looking for references. What am I missing here?

P.S. I should mention that this box does not have Visual Studio installed. And the .sln is in version VS2008 and I am compiling it against .NET 2.0.

P.S. I also tried placing double quotes around the path. Did not make a difference.

© Stack Overflow or respective owner

Related posts about msbuild

Related posts about compilation