<?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>FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx</link><description>Two months ago, Scott blogged about the multi-targeting support in Visual Studio 2008 . I worked on this feature in the planning phase (read “long time ago”), and so I am quite thrilled to see it finally in the hands of developers. Especially, that several</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>MSDN Blog Postings  &amp;raquo; FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5251636</link><pubDate>Wed, 03 Oct 2007 05:25:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5251636</guid><dc:creator>MSDN Blog Postings  » FxCop Rule for Multi-Targeting</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://msdnrss.thecoderblogs.com/2007/10/02/fxcop-rule-for-multi-targeting-3/"&gt;http://msdnrss.thecoderblogs.com/2007/10/02/fxcop-rule-for-multi-targeting-3/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5256115</link><pubDate>Wed, 03 Oct 2007 09:54:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5256115</guid><dc:creator>Martin Bohring</dc:creator><description>&lt;p&gt;Hello Krzysztop,&lt;/p&gt;
&lt;p&gt;either I don't understand the red bits / green bits concept or there are some additional considerations.&lt;/p&gt;
&lt;p&gt;Should'nt the green bits from .NET 3.0 be red bits in 3.5 ?. Or is the green bits red bits concept only limited to the CLR ?&lt;/p&gt;</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5261308</link><pubDate>Wed, 03 Oct 2007 15:43:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5261308</guid><dc:creator>Pawel Pabich</dc:creator><description>&lt;p&gt;Why not to release the full suite of assemblies every time you release a new version of .NET framework? It would make everyone's life much easier. Now people need to remember that System.ServiceModle.dll is part of .NET 3.0 but System.Data.dll is part of .NET 2.0. What &amp;nbsp;is more now I have to keep on my hard drive both versions whereas I could just upgrade to .NET 3.0 and forget about .NET 2.0. Just my two cents.&lt;/p&gt;</description></item><item><title>Nuova FxCop Rule per il controllo del Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5263041</link><pubDate>Wed, 03 Oct 2007 16:59:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5263041</guid><dc:creator>IT Passion</dc:creator><description>&lt;p&gt;Nuova FxCop Rule per il controllo del Multi-Targeting&lt;/p&gt;
</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5264148</link><pubDate>Wed, 03 Oct 2007 18:45:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5264148</guid><dc:creator>kcwalina</dc:creator><description>&lt;p&gt;Martin, yes, all assemblies in 3.0 are red in 3.5. &lt;/p&gt;
&lt;p&gt;Pawel, I might net be understanding your question, but we do release all assemblies in new versions of the framework. That is if you install Framework 3.5, you get all assemblies that were in 2.0 and 3.0, plus new assemblies.&lt;/p&gt;
</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5269624</link><pubDate>Thu, 04 Oct 2007 03:43:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5269624</guid><dc:creator>Pawel Pabich</dc:creator><description>&lt;p&gt;Yes, that is true regarding 2.0 and 3.5. But 3.0 is different and that's why people are confused so often.&lt;/p&gt;</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5269772</link><pubDate>Thu, 04 Oct 2007 04:06:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5269772</guid><dc:creator>Paul</dc:creator><description>&lt;p&gt;In your screenshot you have the error message &amp;quot;Test.Program.Main calls System.Runtime.GCLatencyMode which is not avaliable .NET Framework 2.0&amp;quot;. &amp;nbsp;You spelt &amp;quot;avaliable&amp;quot; wrong :-)&lt;/p&gt;</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5274129</link><pubDate>Thu, 04 Oct 2007 14:53:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5274129</guid><dc:creator>Martin</dc:creator><description>&lt;p&gt;Krzysztof, is there any chance to get this to be part of VS9 RTM ? It could be really useful with current implementation of multitargeting ... thanks&lt;/p&gt;</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5278953</link><pubDate>Fri, 05 Oct 2007 00:35:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5278953</guid><dc:creator>kcwalina</dc:creator><description>&lt;p&gt;Pawel, could you please point me to the place where you see a 3.0 redist without the 2.0 assemblies? I might be wrong but I was under the impression that 3.0 works just like the 3.5 redist.&lt;/p&gt;
&lt;p&gt;Paul, thanks for catching the type. I will fix it next time I update the rule project.&lt;/p&gt;
&lt;p&gt;Martin, I will forward you suggestion to the fxcop team. I would love to see this rule in the offiical product as well.&lt;/p&gt;
</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5289762</link><pubDate>Fri, 05 Oct 2007 12:18:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5289762</guid><dc:creator>Pawel Pabich</dc:creator><description>&lt;p&gt;My point is that if you want to add a reference and you have .NET 3.0 installed on your machine then the only version of System.Data.dll you see is 2.0. There is no v3.0 of System.Data. All I'm saying is that it would be better to either always release all the assemblies or release new ones with the same version which means V2.0 regarding for example System.ServiceModel.dll. Then you would not have to do all the juggling :).&lt;/p&gt;</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5302045</link><pubDate>Sat, 06 Oct 2007 02:08:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5302045</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Krzysztof, thanks for the new rules. It would be great if this could be part of VS2008. Can this rule work with the standalone version of FxCop as well, since not everyone has access to the Team System editions?&lt;/p&gt;</description></item><item><title>Multitargeting against .NET 2.0</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5392154</link><pubDate>Wed, 10 Oct 2007 18:45:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5392154</guid><dc:creator>MSBuild Team Blog</dc:creator><description>&lt;p&gt;If you're using the new VS 2008 multitargeting features to target .NET 2.0 you should be aware that in&lt;/p&gt;
</description></item><item><title>Catching RedBits differences in .NET 2.0 and .NET 2.0SP1</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#5463756</link><pubDate>Mon, 15 Oct 2007 23:11:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5463756</guid><dc:creator>ASPInsiders</dc:creator><description>&lt;p&gt;When you install .NET 3.5 on your system, while the .NET CLR is the same and runs the same, there's some&lt;/p&gt;
</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#6438931</link><pubDate>Tue, 20 Nov 2007 20:55:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6438931</guid><dc:creator>Kirk Clawson</dc:creator><description>&lt;p&gt;Thanks for this.&lt;/p&gt;
&lt;p&gt;One problem that we're running into: For a short while at least, we will be running side-by-side with VS2005, and the 2.0 red bits show up in there as well, but the compiled fxcop rule you present here does not seem to work for the VS2005 FX Cop engine, and recompiling under 2005 would require a bit of re-work as you use anonymous types in your source.&lt;/p&gt;
&lt;p&gt;Any easy solutions? Or should we just do the re-work to build it under 2005?&lt;/p&gt;</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#6460278</link><pubDate>Thu, 22 Nov 2007 01:32:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6460278</guid><dc:creator>kcwalina</dc:creator><description>&lt;p&gt;Kirk, &lt;/p&gt;
&lt;p&gt;Scott Dorman has ported the rule to 2.0. You can read more about it at &lt;a rel="nofollow" target="_new" href="http://geekswithblogs.net/sdorman/archive/2007/10/09/Standalone-FxCop-Multi-Targeting-Rules.aspx"&gt;http://geekswithblogs.net/sdorman/archive/2007/10/09/Standalone-FxCop-Multi-Targeting-Rules.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>FxCop</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#6825459</link><pubDate>Fri, 21 Dec 2007 11:58:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6825459</guid><dc:creator>From the software development trenches</dc:creator><description>&lt;p&gt;In previous posts about Code Metrics and Code Reviews , I explored some metrics and techniques that I&lt;/p&gt;
</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#7709174</link><pubDate>Fri, 15 Feb 2008 09:37:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7709174</guid><dc:creator>kamii47</dc:creator><description>&lt;p&gt;Nice Krzysztof Cwalina&lt;/p&gt;
&lt;p&gt;This should be part of VS2008 RTM with some configuration setting to show warning or error&lt;/p&gt;</description></item><item><title>Krzysztof Cwalina: Framework Design Studio</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#8367426</link><pubDate>Tue, 08 Apr 2008 06:09:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8367426</guid><dc:creator>Rob Relyea - Xamlified</dc:creator><description>&lt;p&gt;If you are building and evolving APIs, Framework Design Studio is a tool you should check out.&amp;amp;#160;&lt;/p&gt;
</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#8503606</link><pubDate>Wed, 14 May 2008 19:57:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8503606</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Krzysztof, thanks this is a great resource. One question though, in the downloadable sample, there are skeletons for comparing the changes in the 2.0 and 3.0 frameworks introduced with 3.5 + SPs. However, only the 2.0 rules are implemented. Would there be any possibility of getting a CallOnly30APIs.txt manifest and CallOnly30APIs.cs? That would be a huge help. Thanks!&lt;/p&gt;</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#8894020</link><pubDate>Mon, 25 Aug 2008 17:57:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8894020</guid><dc:creator>David M. Kean</dc:creator><description>&lt;p&gt;Just to let you know we've officially added a version of this rule to Visual Studio 2008 SP1 and FxCop 1.36.&lt;/p&gt;
&lt;p&gt;See the following post for more information:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://davesbox.com/archive/2008/08/25/new-for-visual-studio-2008-sp1-and-fxcop-1-36-multi-targeting-rule.aspx"&gt;http://davesbox.com/archive/2008/08/25/new-for-visual-studio-2008-sp1-and-fxcop-1-36-multi-targeting-rule.aspx&lt;/a&gt; &lt;/p&gt;</description></item><item><title>New for Visual Studio 2008 SP1 and FxCop 1.36 – Multi-targeting rule</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#8895019</link><pubDate>Mon, 25 Aug 2008 23:36:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8895019</guid><dc:creator>Dave's Box</dc:creator><description>&lt;p&gt;Back in October of last year, Krzysztof Cwalina talked about the multi-targeting changes in Visual Studio&lt;/p&gt;
</description></item><item><title>re: FxCop Rule for Multi-Targeting</title><link>http://blogs.msdn.com/kcwalina/archive/2007/10/02/Multi_2D00_TargetingAndFxCop.aspx#9601435</link><pubDate>Mon, 11 May 2009 07:44:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9601435</guid><dc:creator>Jomit</dc:creator><description>&lt;p&gt;Great Post !!! I was preseting a session on FxCop rules and found this example very helpful.&lt;/p&gt;
&lt;p&gt;Just added this to my &amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://jomit.blogspot.com/2009/05/diving-exploration.html&amp;quot;&amp;gt;link"&gt;http://jomit.blogspot.com/2009/05/diving-exploration.html&amp;quot;&amp;gt;link&lt;/a&gt; of the month&amp;lt;/a&amp;gt; list&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Jomit&lt;/p&gt;</description></item></channel></rss>