How to make MSBuild to automatically copy all indirect references to output (bin) folder

后端 未结 2 1099
再見小時候
再見小時候 2020-12-14 07:32

Subj.

\"Automatically\" is essential here. References from GAC must not be copied.

I\'ve seen e.g. VS2008.NET: Getting a referenced project’s dependencies to

2条回答
  •  囚心锁ツ
    2020-12-14 07:39

    For C++ projects, i.e. *.vcxproj set the property.

    for C# projects, i.e. *.csproj set the property.

    Make sure nothing overwrites those properties. In all my years doing builds for major, large products, I've never had to do anything different. If you have to do any other clever hack, you are surely doing something wrong.

提交回复
热议问题