InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

FXCop 10 was Shipped with Windows 7.1 SDK

Posted by Jonathan Allen on Jun 21, 2010

Sections
Process & Practices,
Architecture & Design,
Development
Topics
.NET ,
Code Analysis ,
Languages ,
Debugging ,
Profilers ,
Programming

For .NET developers who want the rigor of code analysis without the expense of Visual Studio Premium, FXCop is the tool for choice. But with FXCop 1.36 pulled from Microsoft Downloads without warning, many developers were left wondering what happened. Fortunately this tool is still available if you know where to look.

To start, developers need to install the .NET tools from Microsoft Windows SDK for Windows 7 and .NET Framework 4. Don’t bother looking for FXCop in the installer, you won’t find it mentioned there or in any of the usual pre-installation documentation. But a careful review of the post-install release notes will reveal this passage:

6.3.6 FXCop Setup is Now Located Under the Window SDK “\Bin” Directory.
The installer for FXCop, fxcopsetup.exe, is now located in [Program Files]\Microsoft SDKs\Windows\v7.1\Bin\FXCop.

Running that installer will setup FXCop 10.0. Like previous editions, this version is missing many of the rules found in Visual Studio. Also there are some changes to how rules are grouped such as splitting up the Security group into “Security” and “Security Transparency”. Fortunately FXCop uses the same numbering scheme for rules, so if you can’t find a rule by name try looking for its CAxxxx ID.

Visual Studio FXCop
Design Design
Globalization Globalization
Interoperability Interoperability
Maintainability  
Mobility Mobility
Naming Naming
Performance Performance
Portability Portability
Reliability  
Security Security & Security Transparency
Usage Usage

This version of FXCop supports both the CLR 2.0 and 4.0 runtimes.

Minimum install set for FxCop? by Kevin McFarlane Posted
Re: Minimum install set for FxCop? by Jonathan Allen Posted
Thanks by Alexandre Victoor Posted
  1. Back to top

    Minimum install set for FxCop?

    by Kevin McFarlane

    What's the minimum set of options to select in the web installer to get FxCop? If I choose just Tools in the .NET Development set is that sufficient?

  2. Back to top

    Thanks

    by Alexandre Victoor

    Thanks a lot for this very useful news. I was searching to download FxCop 1.36 in vain ...

  3. Back to top

    Re: Minimum install set for FxCop?

    by Jonathan Allen

    I think so, but since it isn't marked I'm not really certain.

Educational Content

Evolution in Data Integration From EII to Big Data

Approaches to integrating data are changing with emergence of cloud computing.

Winning Hearts and Minds: How to Embed UX from Scratch in a Large Organization

Michele Ide-Smith presents the lessons learned in the process of introducing UX principles and techniques into a large organization through a series of small steps.

LMAX Disruptor: 100K TPS at Less than 1ms Latency

Dave Farley and Martin Thompson discuss solutions for doing low-latency high throughput transactions based on the Disruptor concurrency pattern.

Thoughts on Test Automation in Agile

Rajneesh Namta shares his thoughts, experiences, and some of the critical lessons learned while implementing software test automation on a recent Agile project.

Actor Interaction Patterns

Dale Schumacher presents several patterns of actor interaction that can be used in collaborative programs written in any language.

Scalaz: Functional Programming in Scala

Rúnar Bjarnason discusses Scalaz, a Scala library of pure data structures, type classes, highly generalized functions, and concurrency abstractions to perform functional programming in Scala.

Faster, Better, Higher – But How?

One of the main challenges when designing software architecture is considering quality attributes. Not only their design turns out to be difficult, but also the specification of these attributes.

Software Naturalism - Embracing the Real Behind the Ideal

Michael Feathers analyzes real code bases concluding that code is not nearly as beautiful as designers aspire to, discussing the everyday decisions that alter the code bit by bit.