Publish extra dll files not included in the web project

老子叫甜甜 提交于 2019-12-08 18:05:27

If you add the dlls (instead of the projects) as references, and set them to copy always, you should get what you want. How to get the dlls where you want them is another question. I think these are your options:

  • build the dependent projects in the same build
  • build the dependent projects in a different build which submits the dlls to source control
  • depend on the developers to check in the dlls whenever the dependent projects change. -

In my current project we use a combination of the first and third solution which works fine for us since the dependent dlls don't change very often. BTW, we don't use msbuild directly for publishing, we use the devenv command line with /publish.

Hope this helps!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!