FxCop 1.35 RC1 online

Last week we had a push to fix many of the issues reported on the forum and include them in the FxCop 1.35 release. 32 bugs later, we have a release candidate ready. The code changes between FxCop 1.35 Beta 1 and  RC 1 range from simple bugs such as updating the copyright notice, to as complicated as…


FAQ: Why does FxCop ignore my in-code (SuppressMessageAttribute) suppressions? [David Kean]

FxCop 1.35 brings with it the ability to suppress messages in code via the use of the SuppressMessage attribute. This allows you to do the following:     public class PublicKey    {        private byte[] _Token;        […]        [SuppressMessage(“Microsoft.Performance”, “CA1819:PropertiesShouldNotReturnArrays”)]        public byte[] Token        {            get { return (byte[])_Token.Clone(); }        }    } In the above example, we’ve suppressed the Properties Should Not Return Arrays violation for the Token property…

2

Visual Studio Team System MSDN Chat (This Wed – 10AM PST/1PM EST)

Our team, Team System Developer and Tester Tools (Unit Testing, Web Testing, Load Testing, Profiling, Code Analysis (FxCop and PREFast) and Code Coverage) is having a MSDN chat on Wednesday, March 15th, at 10:00am (PST, 1pm EST) at http://msdn.microsoft.com/chats. There will be PMs, Devs and QAs from the team (including Michael Fanning and David Kean from…

1

FAQ: How do I integrate custom rules with Visual Studio? [David Kean]

Update: To have rules target both Visual Studio and FxCop, see the following entry: FAQ: Can I create custom rules that target both Visual Studio and FxCop?   Although not officially supported or documented, the Managed Code Analysis (FxCop) feature available with Visual Studio Team System comes with a rich API for writing custom rules.   There…

17