首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法加载程序集,因为ddconfig version=2.0.0.0不存在。

无法加载程序集,因为ddconfig version=2.0.0.0不存在。
EN

Stack Overflow用户
提问于 2017-04-19 18:55:54
回答 1查看 82关注 0票数 1

我正在尝试运行我的代码,其中Servicefactory初始化所有程序集。我得到了以下错误:

代码语言:javascript
复制
Some assemblies could not be loaded. Make sure you don't have invalid binding redirects. If you know there are no breaking changes you can use binding redirects to redirect the following unfound assemblies to the versions you have in  your project.  Assemblies referenced that are unloadable:  Microsoft.VisualStudio.TeamSystem.Licensing, Version=14.0.0.0

经过一些调查,我发现Microsoft.VisualStudio.TeamSystem.Licensing引用了ddconfig.dllmscorlib = 2.0.0.0

  • 首先,当我在机器中有最新版本(loaction:SomePath\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorlib.dll)时,它为什么引用较早版本的mscorlib(location:SomePath\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies)。
  • 其次,ddconfig.dll显然是从它搜索的位置丢失的,但是它再次出现在loaction SomePath\Microsoft VisualStudio14.0\Common7\IDE\PrivateAssemblies中。

为什么不在后面的位置搜索?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-04-19 23:10:53

我实际上不知道为什么,但是我只是在我的项目引用中添加了Microsoft.VisualStudio.TeamSystem.Licensing,一切都运行得很好。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43503930

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档