在.NET框架组件间接依赖 [英] Indirect dependency on the .NET Framework assembly

查看:202
本文介绍了在.NET框架组件间接依赖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我必须通过删除新的过顶,然后清洗我的解决方案和重建,以产生以下错误更新了我的DLL的Telerik的:

So i have updated my Telerik dll's by dropping the new ones over the top and then cleaning my solution and rebuilding, to produce the following error:

警告3的主要参考Telerik.Windows.Documents.FormatProviders.Xaml无法得到解决,因为它在.NET Framework组件中的间接依赖mscorlib程序,版本= 5.0.5.0,文化=中性公钥= 7cec85d7bea7798e里面有一个更高的版本5.0.5.0比版本2.0。 5.0在当前目标框架。

Warning 3 The primary reference "Telerik.Windows.Documents.FormatProviders.Xaml" could not be resolved because it has an indirect dependency on the .NET Framework assembly "mscorlib, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" which has a higher version "5.0.5.0" than the version "2.0.5.0" in the current target framework.

我GOOGLE了很多,并发现了一些场景的,但没有真正帮助。我试图删除引用并重新启动Visual Studio中,但毫无效果。我希望有人能够给我一些想法,以帮助诊断/解决我的问题。

I have googled lots and have found a few scenario's, but nothing that really helped. I tried deleting reference and restarting visual studio, but nothing worked. I was hoping someone could give me some ideas to help diagnose/solve my problem.

感谢

推荐答案

您项目的目标框架显然是2.0和这些组件可能需要.NET框架的最新版本。

Your project's target framework is obviously 2.0 and those components probably require the latest version of .NET framework.

您可以尝试将目标框架设置为从项目的属性较最近的一次 - >应用 - >目标框架

You could try to set the target framework to a more recent one from your project's Properties -> Application -> Target framework.

这篇关于在.NET框架组件间接依赖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆