gpt4 book ai didi

visual-studio-2010 - 在 Windows 7 Home Premium 中解锁程序集的问题

转载 作者:行者123 更新时间:2023-12-04 02:54:19 24 4
gpt4 key购买 nike

尝试加载基本项目模板时出现以下错误: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 以解除对程序集的阻止时,我没有“安全”选项卡。有什么建议吗?
alt text

最佳答案

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

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

查看此知识库了解详细信息... http://support.microsoft.com/kb/320268/

关于visual-studio-2010 - 在 Windows 7 Home Premium 中解锁程序集的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4103683/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com