<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Opting Out of Security Changes in .NET 4 – #5</title>
	<atom:link href="http://davedewinter.com/2009/05/20/opting-out-of-security-changes-in-net-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://davedewinter.com/2009/05/20/opting-out-of-security-changes-in-net-4/</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 22 Sep 2011 22:12:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: dnk.nitro</title>
		<link>http://davedewinter.com/2009/05/20/opting-out-of-security-changes-in-net-4/#comment-163</link>
		<dc:creator>dnk.nitro</dc:creator>
		<pubDate>Wed, 12 May 2010 01:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4-5/#comment-163</guid>
		<description>Adding
    
        
    
to app.config did not help. However, after adding same configuration options into
%windir%Microsoft.NETFrameworkv4.0.30319Configmachine.config
did the trick. Enjoy.</description>
		<content:encoded><![CDATA[<p>Adding</p>
<p>to app.config did not help. However, after adding same configuration options into<br />
%windir%Microsoft.NETFrameworkv4.0.30319Configmachine.config<br />
did the trick. Enjoy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tip #20 &#8211; Opting Out of Security Changes in .NET 4 in ASP.NET and Custom AppDomains &#124; David DeWinter</title>
		<link>http://davedewinter.com/2009/05/20/opting-out-of-security-changes-in-net-4/#comment-162</link>
		<dc:creator>Tip #20 &#8211; Opting Out of Security Changes in .NET 4 in ASP.NET and Custom AppDomains &#124; David DeWinter</dc:creator>
		<pubDate>Tue, 02 Mar 2010 15:53:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4-5/#comment-162</guid>
		<description>[...] applications running in .NET 4 by adding a switch to the application configuration file. However, Constantin Baciu brought up that even when using this configuration switch in a web.config, ASP.NET still threw the [...] </description>
		<content:encoded><![CDATA[<p>[...] applications running in .NET 4 by adding a switch to the application configuration file. However, Constantin Baciu brought up that even when using this configuration switch in a web.config, ASP.NET still threw the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GT</title>
		<link>http://davedewinter.com/2009/05/20/opting-out-of-security-changes-in-net-4/#comment-161</link>
		<dc:creator>GT</dc:creator>
		<pubDate>Fri, 26 Feb 2010 14:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4-5/#comment-161</guid>
		<description>i found an solution for my problem :) i included the XML configuration in the devenv.exe.config, and now also the designer is showing the controls like it should.

so, open:
       C:Program FilesMicrosoft Visual Studio 10.0Common7IDEdevenv.exe.config
and add:
       
to the runtime section</description>
		<content:encoded><![CDATA[<p>i found an solution for my problem <img src='http://davedewinter.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  i included the XML configuration in the devenv.exe.config, and now also the designer is showing the controls like it should.</p>
<p>so, open:<br />
       C:Program FilesMicrosoft Visual Studio 10.0Common7IDEdevenv.exe.config<br />
and add:</p>
<p>to the runtime section</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GT</title>
		<link>http://davedewinter.com/2009/05/20/opting-out-of-security-changes-in-net-4/#comment-160</link>
		<dc:creator>GT</dc:creator>
		<pubDate>Fri, 26 Feb 2010 09:43:14 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4-5/#comment-160</guid>
		<description>Hi!

I am having this error in my windows forms designer (VS 2010 RC)

I&#039;ve tried setting NetFx40_LegacySecurityPolicy in my: app.config as well as in the lc.exe.config (what i have found in this post: http://stackoverflow.com/questions/1733252/net-4-0-with-code-access-security-netfx40-legacysecuritypolicy-wont-work)

any other ideas for me??

THANKS! regards gerry</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I am having this error in my windows forms designer (VS 2010 RC)</p>
<p>I&#8217;ve tried setting NetFx40_LegacySecurityPolicy in my: app.config as well as in the lc.exe.config (what i have found in this post: <a href="http://stackoverflow.com/questions/1733252/net-4-0-with-code-access-security-netfx40-legacysecuritypolicy-wont-work" rel="nofollow">http://stackoverflow.com/questions/1733252/net-4-0-with-code-access-security-netfx40-legacysecuritypolicy-wont-work</a>)</p>
<p>any other ideas for me??</p>
<p>THANKS! regards gerry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Constantin Baciu</title>
		<link>http://davedewinter.com/2009/05/20/opting-out-of-security-changes-in-net-4/#comment-159</link>
		<dc:creator>Constantin Baciu</dc:creator>
		<pubDate>Wed, 27 Jan 2010 12:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4-5/#comment-159</guid>
		<description>Hello again,

Thank you for the tip. It works.. :)

Looking forward for the blog post for details that I might have missed.

Keep up the good work!

Regards,
Costi.</description>
		<content:encoded><![CDATA[<p>Hello again,</p>
<p>Thank you for the tip. It works.. <img src='http://davedewinter.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Looking forward for the blog post for details that I might have missed.</p>
<p>Keep up the good work!</p>
<p>Regards,<br />
Costi.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David DeWinter</title>
		<link>http://davedewinter.com/2009/05/20/opting-out-of-security-changes-in-net-4/#comment-158</link>
		<dc:creator>David DeWinter</dc:creator>
		<pubDate>Thu, 21 Jan 2010 18:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4-5/#comment-158</guid>
		<description>Thanks for bringing this up Constantin. You&#039;ll need to set the legacyCasModel attribute on the trust element in your web.config to &quot;true&quot; in order for ASP.NET to run with this setting.

I will blog about this in more detail later.</description>
		<content:encoded><![CDATA[<p>Thanks for bringing this up Constantin. You&#8217;ll need to set the legacyCasModel attribute on the trust element in your web.config to &#8220;true&#8221; in order for ASP.NET to run with this setting.</p>
<p>I will blog about this in more detail later.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Constantin Baciu</title>
		<link>http://davedewinter.com/2009/05/20/opting-out-of-security-changes-in-net-4/#comment-157</link>
		<dc:creator>Constantin Baciu</dc:creator>
		<pubDate>Tue, 19 Jan 2010 14:32:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4-5/#comment-157</guid>
		<description>Hi there,

I&#039;m having the same problem here. (ASP.Net Web Application on .Net 4.0 beta2 and a DevExpress control that has no .Net 4.0 support and has CAS).
I&#039;ve tried with the NetFx40_LegacySecurityPolicy configuration switch but the error I get is the same:

This method explicitly uses CAS policy, which has been obsoleted by the .NET Framework. In order to enable CAS policy for compatibility reasons, please use the NetFx40_LegacySecurityPolicy configuration switch. Please see http://go.microsoft.com/fwlink/?LinkID=155570 for more information.</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I&#8217;m having the same problem here. (ASP.Net Web Application on .Net 4.0 beta2 and a DevExpress control that has no .Net 4.0 support and has CAS).<br />
I&#8217;ve tried with the NetFx40_LegacySecurityPolicy configuration switch but the error I get is the same:</p>
<p>This method explicitly uses CAS policy, which has been obsoleted by the .NET Framework. In order to enable CAS policy for compatibility reasons, please use the NetFx40_LegacySecurityPolicy configuration switch. Please see <a href="http://go.microsoft.com/fwlink/?LinkID=155570" rel="nofollow">http://go.microsoft.com/fwlink/?LinkID=155570</a> for more information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David DeWinter</title>
		<link>http://davedewinter.com/2009/05/20/opting-out-of-security-changes-in-net-4/#comment-156</link>
		<dc:creator>David DeWinter</dc:creator>
		<pubDate>Mon, 03 Aug 2009 19:37:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4-5/#comment-156</guid>
		<description>Ted, what error are you seeing? Do you have a message and a stack trace?</description>
		<content:encoded><![CDATA[<p>Ted, what error are you seeing? Do you have a message and a stack trace?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted</title>
		<link>http://davedewinter.com/2009/05/20/opting-out-of-security-changes-in-net-4/#comment-155</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Sat, 01 Aug 2009 17:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4-5/#comment-155</guid>
		<description>I tried the above when I installed VS 2010 Beta1, and it didnt work.
I modified the app.config in my project and also the devenv.exe.config - nothing helped.
I tried both legacyCasPolicy and NetFx40_LegacySecurityPolicy.

The error wont go away...</description>
		<content:encoded><![CDATA[<p>I tried the above when I installed VS 2010 Beta1, and it didnt work.<br />
I modified the app.config in my project and also the devenv.exe.config &#8211; nothing helped.<br />
I tried both legacyCasPolicy and NetFx40_LegacySecurityPolicy.</p>
<p>The error wont go away&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

