<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Temporarily re-enabling CAS policy during migration</title><link>http://blogs.msdn.com/shawnfa/archive/2009/06/12/temporarily-re-enabling-cas-policy-during-migration.aspx</link><description>Over the last few weeks we’ve been looking at the changes to security policy in .NET 4, namely that security policy is now in the hands of the host and the operating system. While we’ve looked at how to update code that implicitly uses CAS policy , loads</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Temporarily re-enabling CAS policy during migration</title><link>http://blogs.msdn.com/shawnfa/archive/2009/06/12/temporarily-re-enabling-cas-policy-during-migration.aspx#9855277</link><pubDate>Sat, 01 Aug 2009 20:29:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9855277</guid><dc:creator>Ted</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I just got a new computer and installed Windows 7 RC. I also installed Visual Studio 10.0.20506.1 Beta1 to test it.&lt;/p&gt;
&lt;p&gt;I moved my old Visual Studio 2005 projects, converted and then I get the error mentioned above.&lt;/p&gt;
&lt;p&gt;I added the line:&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;legacyCasPolicy enabled=&amp;quot;true&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;to the app.config in my project and also to devenv.exe.config.&lt;/p&gt;
&lt;p&gt;I did a rebuild of the project, restarted VS - but nothing helps. The same error.&lt;/p&gt;
&lt;p&gt;I also tried &lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;NetFx40_LegacySecurityPolicy enabled=&amp;quot;true&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;no difference...&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;</description></item><item><title>re: Temporarily re-enabling CAS policy during migration</title><link>http://blogs.msdn.com/shawnfa/archive/2009/06/12/temporarily-re-enabling-cas-policy-during-migration.aspx#9904762</link><pubDate>Thu, 08 Oct 2009 10:06:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9904762</guid><dc:creator>savaş oyunları</dc:creator><description>&lt;p&gt;ntrol will work both in the Visual Studio process during your development, as well as in your process at runtime&lt;/p&gt;</description></item><item><title>re: Temporarily re-enabling CAS policy during migration</title><link>http://blogs.msdn.com/shawnfa/archive/2009/06/12/temporarily-re-enabling-cas-policy-during-migration.aspx#9918133</link><pubDate>Thu, 05 Nov 2009 18:34:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9918133</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;To check the obvious, this config setting was within the &amp;lt;configuration&amp;gt;&amp;lt;runtime&amp;gt; section of the config file correct? &amp;nbsp;Is your application a standalone .exe, or is it hosted by another app that might change the default config?&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item></channel></rss>