Silverlight 4 - 类型或命名空间名称xxx不存在...版本冲突 [英] Silverlight 4 - the type or namespace name xxx does not exist ... Version conflict
问题描述
当我在VS 2010 Ultimate中重新编译Silverlight 4项目时,我遇到了大量错误。像xxx中不存在类型或命名空间名称xxx这样的错误。实际上,所有需要的dll都在参考文献中。我一直在努力,但没有解决方案。
从一些论坛讨论中,我意识到这种类型的问题是由于版本冲突造成的。在几十个错误中,我找不到那个错误的错误。
希望有人可以帮我解决这个问题。
如果这么难,我应该升级到VS 2010中的SL5吗?还是VS2012中的SL5?谢谢。
I got a ton of errors as I re-compiled a Silverlight 4 project in VS 2010 Ultimate. The errors like that "the type or namespace name xxx does not exist in xxx". Actually, all of the needed dlls are in the References. I have struggled but got no solution.
From some forum discussion, I have realized that this type of problem is due to version conflict. Of the several dozens of errors, I could not find the one that is the source one.
Hopefully, someone can help me for this issue.
If it is so hard, should I upgrade to SL5 in VS 2010? Or SL5 in VS2012? Thanks.
推荐答案
安装SL 5 SDK解决了问题。
Problem solved by installing SL 5 SDK.
这篇关于Silverlight 4 - 类型或命名空间名称xxx不存在...版本冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!