<?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://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4/</link>
	<description>A Developer's Melting Pot: LINQ to SQL, Entity Framework, .NET Security...</description>
	<lastBuildDate>Sat, 03 Jul 2010 01:28:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4/comment-page-1/#comment-21177</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-21177</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://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4/comment-page-1/#comment-20949</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-20949</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 Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config
and add:
       
to the runtime section</description>
		<content:encoded><![CDATA[<p>i found an solution for my problem <img src='http://blogs.rev-net.com/ddewinter/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 Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config<br />
and add:</p>
<p>to the runtime section</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GT</title>
		<link>http://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4/comment-page-1/#comment-20937</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-20937</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://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4/comment-page-1/#comment-18482</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-18482</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://blogs.rev-net.com/ddewinter/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://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4/comment-page-1/#comment-17905</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-17905</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://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4/comment-page-1/#comment-17758</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-17758</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://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4/comment-page-1/#comment-9144</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-9144</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://blogs.rev-net.com/ddewinter/2009/05/20/opting-out-of-security-changes-in-net-4/comment-page-1/#comment-9088</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-9088</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>
