基于Unity依赖的警告:mscorlib,System

时间:2017-08-17 19:37:12

标签: visual-studio dependency-injection unity-container

当我将Unity添加到我的项目中时,我得到了这个,一旦删除它就不再获得它。尝试包-reinstall ..

我在VS 2017中使用.net 4.7

无法解决" mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089"之间的冲突。和" mscorlib,Version = 2.0.5.0,Culture = neutral,PublicKeyToken = 7cec85d7bea7798e,Retargetable = Yes"。选择" mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089"随意。 12>无法解决" System,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089"之间的冲突。和" System,Version = 2.0.5.0,Culture = neutral,PublicKeyToken = 7cec85d7bea7798e,Retargetable = Yes"。选择"系统,版本= 4.0.0.0,文化=中立,PublicKeyToken = b77a5c561934e089"任意。

0 个答案:

没有答案