Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted
Comments
Sandeep Mewara 5-Sep-12 6:42am    
I see other options too suggested. Did you try them? Like, hotfix ?
Oleksandr Kulchytskyi 5-Sep-12 7:45am    
Sorry, but about which hotfix, you have mentioned above ???
I haven't encountered any suggestion about hotfix.
Could you please share link , where you have been read about that??
Sandeep Mewara 5-Sep-12 7:51am    
Here: http://stackoverflow.com/questions/3697421/legacy-security-policy-in-visual-studio-2010-and-com-references
Oleksandr Kulchytskyi 5-Sep-12 7:55am    
thx! Yep, it's really work with hotfix.
You are my saviour!)
Sandeep Mewara 5-Sep-12 8:56am    
Great!


1 solution

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[^]
 
Share this answer
 
Comments
Espen Harlinn 6-Sep-12 10:15am    
5'ed!
Sandeep Mewara 6-Sep-12 10:52am    
Thanks Espen :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900