问题解锁Windows 7 Home Premium中的程序集

She*_*lam 10 visual-studio-2010 windows-7 windows-phone-7

尝试加载基本项目模板时出现以下错误:

Error 12 Could not load the assembly file://\\psf\home\documents\visual studio 2010\Projects\WindowsPhonePivotApplication1\WindowsPhonePivotApplication1\obj\Debug\WindowsPhonePivotApplication1.dll. This assembly may have been downloaded from the Web. If an assembly has been downloaded from the Web, it is flagged by Windows as being a Web file, even if it resides on the local computer. This may prevent it from being used in your project. You can change this designation by changing the file properties. Only unblock assemblies that you trust. See http://go.microsoft.com/fwlink/?LinkId=179545 for more information. WindowsPhonePivotApplication1

当我尝试修改DLL以取消阻止程序集时,我没有安全选项卡.有什么建议?

替代文字

Rah*_*oni 9

您是否尝试在本地复制此程序集?目前它似乎是从网络共享加载.如果您想以这种方式工作,则需要信任该网络位置.

驱动器:\ WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -ag 1 -url"file:////\computername\sharename*"FullTrust -exclusive on

检查此KB以获取详细信息... http://support.microsoft.com/kb/320268/