Why am I missing assemblies from the bin directory when compiling with MsBuild?

后端 未结 9 1295
日久生厌
日久生厌 2021-01-13 10:43

I have a solution which contains many class libraries and an ASP .NET website which references those assemblies.

When I build the solution from within the IDE, all a

9条回答
  •  有刺的猬
    2021-01-13 11:09

    Which msbuild are you referencing? Is it the right one?

    I generally call like this (from a batch file):

    %WINDIR%\Microsoft.NET\Framework\v3.5\msbuild.exe deploy.proj /v:n

    In this example, deploy.proj is just a regular msbuild file that does some other stuff before and after calling msbuild on the .sln file.

提交回复
热议问题