Quantcast
Channel: Code Analysis Team Blog
Browsing all 18 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

TIP: Get more information about a rule/warning within Visual Studio [David Kean]

Did you know you can get more information about a particular rule/warning within Visual Studio; including its description, information on how to fix it, whether or not it is considered a breaking...

View Article


Image may be NSFW.
Clik here to view.

TIP: How to change the FxCop naming/design rules to fire on internals [David...

By default, the FxCop naming and design rules only fire on publicly visible types and members. There are a couple reasons for this:The .NET Framework Design Guidelines, which FxCop enforces, only...

View Article


Image may be NSFW.
Clik here to view.

TIP: How to quickly enable Code Analysis on multiple projects [David Kean]

Daniel Fisher has posted a entry on using a macro to quickly enable Code Analysis on multiple projects. The macro also allows you to apply the same rule selections across an entire solution.Thanks Daniel!

View Article

Image may be NSFW.
Clik here to view.

TIP: Automatically generate Managed Code Analysis/FxCop suppressions

I see a lot of users attempting to hand code a SuppressMessageAttribute themselves. This can be error prone and is not needed when both Visual Studio and the standalone FxCop can automatically generate...

View Article

Image may be NSFW.
Clik here to view.

TIP: Scope the Code Analysis Policy to apply to specific source control...

On the forums, we have had posts  from customers who want to customize their code analysis policy to skip certain file types such as .sql, docs etc. This is because the policy will block checkins even...

View Article


Image may be NSFW.
Clik here to view.

TIP: How to change the (Orcas) Managed Code Analysis naming/design rules to...

A while ago I mentioned that FxCop (and hence Managed Code Analysis) naming and design rules only fire on publicly visible types and members. As you may recall, there were a couple of reason for...

View Article

Image may be NSFW.
Clik here to view.

Reporting Code Analysis Defect Counts

Code analysis defect counts are available in the cube that is part of the TFS Data Warehouse. This post shows you how to hook up Excel to show code analysis counts in a pivot table.First off you need...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


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...

View Article


New for Visual Studio 2008 SP1 and FxCop 1.36 – Multi-targeting rule

I've just published a post over my blog about a new feature we added for Visual Studio 2008 SP1 and FxCop 1.36. New for Visual Studio 2008 SP1 and FxCop 1.36 – Multi-targeting rule

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

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...

View Article

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

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...

View Article


Image may be NSFW.
Clik here to view.

How to write custom static code analysis rules and integrate them into Visual...

This blog explains how to implement your own static code analysis rules for analyzing your .NET (C#, VB.NET, etc) code. The material was written by Todd King, one of the developers on the Visual Studio...

View Article

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...

View Article


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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article
Browsing all 18 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>