What’s New in Code Analysis for Visual Studio 2012

Hi Everyone, With the launch of the Beta we would like to tell you about some of the great enhancements we have made to code analysis based on your feedback.  Back when we started planning for Visual Studio 2012 we spent a good deal of time talking with people who use code analysis, and understanding the…


Preventing check-ins to TFS that contain code analysis warnings

  Recently we have received several questions regarding Visual Studio Code Analysis integration with Team Foundation Server’s check-in policy and build server, so I thought it would be helpful to clarify the behavior and expose some relatively hidden functionality. Source Control Check-in Policy The first point of confusion that often arises is about the source…


FxCop 10.0 is available

Version 10.0 of FxCop is the version that ships with Visual Studio 2010 Premium. FxCop 10.0 is part of Version 7.1 of the Microsoft Windows SDK for Windows 7 and .NET Framework 4. Instructions Download the Microsoft Windows SDK for Windows 7 and .NET Framework 4 Version 7.1 Using elevated privileges execute FxCopSetup.exe from the…

11

Data Flow Analysis Rules in Visual Studio 2010

This blog post applies to Visual Studio 2010 Premium and Ultimate editions. The content was written by Kevin Blasko one of the developers on the Visual Studio Code Analysis team. The purpose of this blog post is to give you some background on the implementation of the Dataflow Analysis (DFA) rules in Visual Studio 2010….

2

Comparison of Code Analysis Warnings and Errors – Visual Studio 2008 versus Visual Studio 2010

This blog compares the Code Analysis warnings and errors generated by Visual Studio 2008 and Visual Studio 2010.   Managed Code Analysis   Warning / Error Number Description Visual Studio 2008 Team System Visual Studio 2010 Premium CA0001 An exception was raised within managed code analysis tool that does not indicate an expected error condition….

2

What’s new in Code Analysis for Visual Studio 2010

This post summarizes the new functionality you will experience sing the Code Analysis functionality in Visual Studio 2010. Note that Code Analysis is only available in the Premium and Ultimate editions of Visual Studio 2010. Rule Sets In Visual Studio 2010 you can manage the list of rules that are executed against your managed code…

15

Fun with Code Analysis Rule Sets

Two weeks ago, I introduced you to Visual Studio 2010 September ’08 CTP (Community Technology Preview). This CTP is available as a Virtual PC (VPC) image which can be downloaded at http://go.microsoft.com/fwlink/?LinkId=129231. The goal of the Community Technology Preview is to obtain feedback from our customers on the new scenarios we have enabled.  If you…

5

FxCop 1.36 Released!

We are pleased to announce that we’ve released the next version of FxCop. This release has a number of changes since FxCop 1.36 Beta 2, including, but not limited to, the following: Bug fixes that reduce noise, missing analysis and rule crashes. New portability rule: Use Only API from Targeted Framework.  This rule will fire when…

11