Microsoft is providing developers running the latest version of the Windows software development kit with the resources designed to allow them to perform static code analysis of .NET Framework code. FxCop 10.0 offers Graphical User Interface and command line tools to comb .NET applications for a wide range of issues. Some developers are undoubtedly already familiar with FxCop. Version 1.36 of the tool was shipped by Microsoft along with Windows SDK version 7.0. FxCop 10.0 is available as of the end of last week, in conjunction with Windows SDK 7.1.
“Download the Microsoft Windows SDK for Windows 7 and .NET Framework 4 Version 7.1 Using elevated privileges execute FxCopSetup.exe from the %ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\FXCop folder,” the installation instructions from the Redmond company read.
According to the software giant, FxCop 10.0 “provides hundreds of rules that perform various types of analysis: design, globalization, interoperability, maintainability, mobility, naming, performance, portability, reliability, security and usage.” In addition, Microsoft has integrated FxCop functionality into the latest iteration of its development platform. Both Visual Studio 2010 Premium and Ultimate editions contained FxCop, the company underlined.
“You can use Code Analysis in Visual Studio Premium and Visual Studio Ultimate to discover potential issues in your code, such as non-secure data access, usage violations, and design problems. Code analysis works on .NET Framework, native (C and C++), and database applications. Code analysis for managed code organizes rules in rule sets that target specific coding issues,” Microsoft stated.
Microsoft Windows SDK for Windows 7 and .NET Framework 4 7.1 has been available for download since the second half of May 2010, updated to keep up the pace with the release of Visual Studio 2010 RTM and .NET Framework 4 RTM. The documentation for the Windows SDK has also been updated, and the resource can now be downloaded for offline viewing.
Microsoft Windows SDK for Windows 7 and .NET Framework 4 7.1 is available for download here.
Visual Studio 2010 Premium is available for download here.
Visual Studio 2010 Professional is available for download here.
Visual Studio 2010 Ultimate is available for download here.
Visual Studio Test Professional 2010 is available for download here.
.NET Framework 4 RTM is available for download here.
Follow me on Twitter @MariusOiaga.