MSBuild doesn't copy references (DLL files) if using project dependencies in solution

前端 未结 19 1618
Happy的楠姐
Happy的楠姐 2020-11-22 07:24

I have four projects in my Visual Studio solution (everyone targeting .NET 3.5) - for my problem only these two are important:

  1. MyBaseProject &
19条回答
  •  情书的邮戳
    2020-11-22 07:50

    I just ran into a very similar issue. When compiling using Visual Studio 2010, the DLL file was included in the bin folder. But when compiling using MSBuild the third-party DLL file was not included.

    Very frustrating. The way I solved it was to include the NuGet reference to the package in my web project even though I'm not using it directly there.

提交回复
热议问题