由于网络上的 DLL,无法在 VS2010 中查看设计器 [英] Unable to view designer in VS2010 due to DLL over the network

查看:24
本文介绍了由于网络上的 DLL,无法在 VS2010 中查看设计器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到错误 -

无法加载程序集Aurora.UIResources"的元数据.这个程序集可能是从网上下载的.请参阅 http://go.microsoft.com/fwlink/?LinkId=179545.加载期间遇到以下错误:无法加载文件或程序集Aurora.UIResources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"或其依赖项之一.不支持操作.(来自 HRESULT 的异常:0x80131515)

Unable to load the metadata for assembly 'Aurora.UIResources'. This assembly may have been downloaded from the web. See http://go.microsoft.com/fwlink/?LinkId=179545. The following error was encountered during load: Could not load file or assembly 'Aurora.UIResources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

我正在通过网络引用该文件,应用程序将正常运行.我似乎无法在设计器中看到预览".我运行的是 Windows 7 Enterprise 64 位.

I am referencing the file over the network and the application will run and work just fine. I just can't seem to see the 'preview' in the designer. I am running Windows 7 Enterprise 64bit.

有人知道如何解决这个问题吗?

Does anyone have an idea on how to resolve this?

推荐答案

参见 这个

这似乎对某些人有效

打开 devenv.exe.config(在我机器上的 C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE 中),并添加这个"

"Open devenv.exe.config (in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE on my machine), and add this"

<runtime>
    <loadFromRemoteSources enabled="true" />
    ....
</runtime>

这篇关于由于网络上的 DLL,无法在 VS2010 中查看设计器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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