Visual Studio 2010错误 [英] Visual Studio 2010 error

查看:106
本文介绍了Visual Studio 2010错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.
我最近从dotras.codeplex.com上传了资源,并已在VS2010 SP1中打开它.
在开始构建过程时,Vs 2010已在错误窗口"中打印了此类错误:
"AppDomain的安全状态已由配置了NoSecurityChanges标志的AppDomainManager修改"
有人遇到过这样的问题吗?
我第一次看到这样的错误.
谷歌浏览后,我发现我需要添加这样的节点< netfx40_legacysecuritypolicy enabled ="true">声明运行时节点后,将devenv.exe.config文件作为第一个节点.
但是这样的调整并没有帮助我.

Hi guys.
I have been uploaded recently sources from dotras.codeplex.com, and have opened it in VS2010 SP1.
While building process was started, Vs 2010 had printed such error in Errors Window:
"The security state of an AppDomain was modified by an AppDomainManager configured with the NoSecurityChanges flag"
Have anybody encountered with such problem???
I see such error in first time.
After some google surfing , i found that i need to add such node <netfx40_legacysecuritypolicy enabled="true"> to devenv.exe.config file as first node after declaration of Runtime node.
But such tweak didn''t help me.

推荐答案

建议的修补程序适用于OP.现在将其发布为答案.

此处的详细信息: http://stackoverflow.com/questions /3697421/legacy-security-policy-in-visual-studio-2010-and-com-references [
A hotfix suggested worked for OP as reported. Posting it as an answer now.

Details here: http://stackoverflow.com/questions/3697421/legacy-security-policy-in-visual-studio-2010-and-com-references[^]


这篇关于Visual Studio 2010错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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