Why does the AdditionalLibPaths parameter not work in this MSBuild command?

I am trying to specify an additional folder to search for links when compiling the command line using MSBuild.

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

For some reason, msbuild completely ignores the folder C:\Radiowhen searching for links. What am I missing here?

  • This field is missing the installed Visual Studio
  • .sln is VS2008 and I am compiling it on .NET 2.0.
  • I also tried double quotes around the path.
+3
source share

Source: https://habr.com/ru/post/1741831/


All Articles