Custom Code Analysis in Visual Studio 2010

by Jonathan Allen Follow 609 Followers on  Apr 03, 2010

Microsoft’s .NET code analysis tool, FXCop, has offered the ability to create custom code analysis rules for many years, but the experience has been less than stellar. The version for VS 2010 offers some improvements and a better integration story, but some fundamental problems still remain.


.NET 4.0 Brings XAML 2009, but Not for WPF Users

by Jonathan Allen Follow 609 Followers on  Dec 02, 2009

At PDC 2009, Michael Shim and Rob Relyea presented Microsoft’s plans for the future of XAML. Long term, they plan on unifying the various XAML languages and parsers, but for now developers will only get XAML 2009 for non-UI technologies like Workflow Foundation. The new parser, on the other hand, will bring new functionality to everyone who needs to analyze, manipulate, or generate XAML.


FxCop 1.36 Released

by Al Tenhundfeld Follow 0 Followers on  Aug 22, 2008

Microsoft has released a new version of FxCop, the popular static code analyzer and policy enforcement utility. This release fixes numerous bugs and adds support .NET Framework 3.5 language features. This release updates FxCop to have the same engine enhancements provided to VSTS Code Analysis in VS 2008 SP1.


FxCop Rules Join the Pipeline Builder for System.AddIn

by Jonathan Allen Follow 609 Followers on  Jul 14, 2008

Microsoft has created FxCop rules for projects leveraging the extensibility framework System.AddIn. This joins the out-of-band project Pipeline Builder as a must-have for developers using this .NET 3.5 framework.


New Code Analysis Tool FxCop Beta: 200 bug fixes, anonymous methods support

by Udi Dahan Follow 3 Followers on  Oct 29, 2007

With over 200 bug fixes and performance improvements, this beta is what many FxCop users have been clamoring for. FXCop checks .NET managed code assemblies for conformance to the Microsoft .NET Framework Design Guidelines. Beyond basic library design and naming convention checks, FxCop is especially valuable in pointing out globalization, interoperability, and security issues.


FxCop Rule for Multi-Targeting

by Jonathan Allen Follow 609 Followers on  Oct 09, 2007

Multi-targeting in Visual Studio 2008 leads to a new set of problems. With .NET 3.5 bringing new features to the core assemblies, care must be taken when targeting .NET 2.0. Otherwise, an application can be compiled successfully but fail to run due to missing methods. One way to handle this is to use Krzysztof Cwalina's Multitargeting rule for FxCop.


Spell Checker Added to Visual Studio 2008

by Jonathan Allen Follow 609 Followers on  Sep 25, 2007

The Code Analysis team at Microsoft has decided to include FXCop's spell checker in Visual Studio 2008.


David M. Kean Reveals Microsoft's FXCop Ruleset

by Jonathan Allen Follow 609 Followers on  Aug 10, 2007

FXCop has a lot of code analysis rules, but does Microsoft actually use them all? Turns out the answer is no. David Kean lists which FXCop rules are considered mandatory by the Microsoft's Developer Division.


NStatic: Advanced Code Analysis for .NET

by Jonathan Allen Follow 609 Followers on  Feb 26, 2007 2

Code analysis tools like FXCop are often cited as ways to improve code quality. While they do check for a large number of potential faults, in theory there is a lot more that can be done. Wesner Moise intends to try out these theories with an advanced code analysis tool called NStatic.

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you