Relevant dependencies (DLL) not being copied when deploying using Visual Studio 2013

懵懂的女人 提交于 2019-11-29 11:42:51

I'm a member of the team who put the WebJobs tooling out in the Summer 2013 Update, and I can let you know we're aware of this issue and have checked in a fix for it for the next update, which is coming out soon. In the meantime, the workaround is to set assembly references to the assemblies you need - the NuGet packages alone will do solve this issue - and re-publish. We actually use a NuGet package to do our deployment logic for WebJobs within VS. Once we release the update, we'll also release the NuGet (which is going through final testing now), so customers on the Summer and Fall updates will have this issue mitigated.

It seems like this is a known bug from Microsoft and unfortunately they dont seem too eager to fix it. Possible solutions:

  1. You can either manually copy it over
  2. Create a build event to copy it over
  3. Seems some people have had luck adding something like this var t = typeof(ThirdParty.SomeClass);

Solved my issue by doing the following.

  1. Set your referenced assemblies "Copy Local -> True"
  2. Set your solution configurations to "Release"
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!