简体   繁体   English

无法加载程序集(Windows 7 Visual Studio 2010)

[英]Cannot load assemblies ( windows 7 visual studio 2010 )

I loaded some old assemblies in my project yesterday and now when i cannot load them, they appear with a yellow mark on them in the references. 昨天我在项目中加载了一些旧程序集,现在当我无法加载它们时,它们在引用中会带有黄色标记。 I have no idea what the hell i am doing wrong. 我不知道我到底在做什么错。 I really need some help. 我真的需要一些帮助。

when they appear with the yellow mark it means they cannot be found, look at their properties and check that they exist in the place they should. 当它们带有黄色标记出现时,表示找不到它们,请查看它们的属性并检查它们是否存在于应有的位置。 if they dont then re-reference them from another place they exist 如果他们不这样做,则从另一个地方重新引用它们

If you open the Property Toolwindow and click (select) the assmeblies in referneces that show up with a yellow mark, you will see an entry in the property toolwindow for Path . 如果您打开属性工具窗口,然后单击(选择)在referneces,显示了一个黄色标记的assmeblies,你会看到在属性工具窗口一个条目Path This is the path that Visual Studio is using to locate the assembly. 这是Visual Studio用于查找程序集的路径。 If the assembly doesn't exist there - you'll get this kind of error. 如果程序集在那里不存在-您将收到此类错误。

To fix the problem, either: 要解决此问题,请执行以下任一操作:

  1. place a copy of the assembly at the location where VS is searching ... or 将程序集的副本放置在VS正在搜索的位置...或
  2. remove ad re-add the reference from the correct location. 移除广告,然后从正确的位置重新添加参考。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法使用 Windows 上的 Visual Studio Express 2010 在 ASP.Net MVC 应用程序中加载 Oracle 程序集 - Cannot Load Oracle Assembly in ASP.Net MVC Application using Visual Studio Express 2010 on Windows 7 在Visual Studio 2010 Ultimate中找不到负载测试 - Cannot Find Load Test in Visual Studio 2010 Ultimate 如何使用Visual Studio 2010 Extension / Addin引用GAC中没有的程序集? - How to reference assemblies not in the GAC with Visual Studio 2010 Extension/Addin? 如何在visual studio 2010中引用针对更高框架的程序集? - How to reference assemblies targeting higher framework in visual studio 2010? Visual Studio 2010不会为自定义文化生成附属程序集 - Visual studio 2010 doesn't generate satellite assemblies for custom culture 无法在Visual Studio 2010中加载文件或程序集 - Could not load file or assembly in Visual Studio 2010 无法在Visual Studio 2010中加载Crystal报表 - Not able to load crystal reports in visual studio 2010 Visual Studio 2010负载测试错误 - Visual Studio 2010 Load Test Errors 无法在Visual Studio 2010中的VB.Net Windows窗体上加载System.Drawing V4.0.0.0 - Could not load System.Drawing V4.0.0.0 on a VB.Net Windows form in Visual Studio 2010 Windows 8 Visual Studio 2010编译错误 - Windows 8 Visual Studio 2010 compilation error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM