Sign in
Code Analysis Team Blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
ASP.NET
Books
Bugs
C++
Code Analysis
Code Analysis Policy
Code Metrics
CodeCommunit Analysis
Community
Configuration
Custom Rules
Documentation
Dogfooding
Exceptions
FAQ
Framework Design Guidelines
FxCop
Pages
Releases
Rules
Suppressions
SuppressUnmanagedCode
Team Build
Team System
Tips and Tricks
Tools
tsbt-dev
Visual Studio 2005
Visual Studio 2008
y
Browse by Tags
MSDN Blogs
>
Code Analysis Team Blog
>
All Tags
>
fxcop
Tagged Content List
Blog Post:
Fun with Code Analysis Rule Sets
cristend
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...
on
12 Nov 2008
Blog Post:
New for Visual Studio 2008 SP1 and FxCop 1.36 – Multi-targeting rule
David M. Kean
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
on
25 Aug 2008
Blog Post:
FxCop 1.36 Released!
brettwo
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...
on
19 Aug 2008
Blog Post:
David Kean's new blog
David M. Kean
For those that are interested, I've just started a new personal blog, Dave's Box , where I will be talking about FxCop, Framework Design Guidelines, and the recently announced Managed Extensibility Framework . I've just posted a couple of posts detailing changes we made to FxCop 1.36: FxCop now...
on
10 Jun 2008
Blog Post:
FAQ: How do I prevent FxCop 1.36 from firing warnings against generated code?
David M. Kean
I've upgraded from FxCop 1.35 to 1.36 and now FxCop has started to fire warnings against typed DataSets and other generated code. How do I turn this off? The reason this is occurring is because we changed the way that FxCop analyzed generated code. Whereas previously in 1.35, FxCop would only ignore...
on
28 Feb 2008
Blog Post:
What happened to the download and documentation of FxCop 1.35?
David M. Kean
Update: You can now download FxCop 1.35 directly from MSDN Code Gallery . As you many you have well noticed, GotDotNet was officially retired last month now that the last of its functionality was superceded by MSDN Code Gallery . Unfortunately, at the same time, the FxCop team page, the download for...
on
26 Feb 2008
Blog Post:
Tutorial on writing your own Code Analysis rule
David M. Kean
Jason Kresowaty has posted a great tutorial on writing Code Analysis/FxCop rules . He also spends time on explaining parts of the Introspection API, including the different nodes and their relationship to each other. It's a great read, even if you've written some Code Analysis rules before. Definitely...
on
18 Jan 2008
Blog Post:
FAQ: Which Code Analysis rules shipped in which version?
David M. Kean
In response to a lot of recent requests, we've put together a complete list of rules that shipped in the different versions of Visual Studio Code Analysis and FxCop. Attached is an Excel worksheet providing this information for Visual Studio 2005, Visual Studio 2008, FxCop 1.35 and FxCop 1.36 Beta. ...
on
7 Jan 2008
Blog Post:
Come chat with the Code Analysis team tomorrow
David M. Kean
Join members of the Visual Studio Team System product group to discuss features available in Team Foundation Server, Team Suite, Architecture Edition, Development Edition, Database Edition, and Test Edition. In addition, discuss what's new for these editions for Visual Studio 2008. We will be holding...
on
4 Dec 2007
Blog Post:
Try the Code Analysis Rule Sets Feature in the November "Rosario" November 2007 CTP
conorm
We have a great new feature that we are previewing in Microsoft® Visual Studio® Team System code name “Rosario” November 2007 CTP . This feature allows you to select pre-defined sets of rules to configure code analysis as well as define your own. To access this feature...
on
28 Nov 2007
Blog Post:
FxCop 1.36 Beta Released!
David M. Kean
I'm pleased to announce that we've released a beta of the next version of FxCop . This release has a number of changes since FxCop 1.35, including, but not limited to, the following: 200+ bug fixes that reduce noise, missing analysis and rule crashes Support for analyzing anonymous methods and lambda...
on
10 Oct 2007
Blog Post:
What rules do Microsoft have turned on internally?
David M. Kean
I've recently received a few requests asking about the Code Analysis rules we run internally against Microsoft's own code. While it might come as a surprise, we do not actually run every single rule against our own binaries. There are many reasons for this: Applicability . Not every rule is applicable...
on
9 Aug 2007
Blog Post:
FxCop Designers Honored with the Engineering Excellence Chairman's Award
David M. Kean
Mike Fanning, Krzysztof Cwalina , and Brad Abrams were awarded with the Engineering Excellence Chairman's Award for the design of FxCop, which is given for contributions that Bill Gates considers extremely important: The Engineering Excellence Chairman's Award is Microsoft's highest award for engineering...
on
5 Jul 2007
Blog Post:
What kind of custom rules do you want to write?
David M. Kean
Our excellent program manager, Joe Rohde, is trying to gather information on the kinds of custom rules customers want to write. I am a program manager for our Code Analysis system. I want to know what kind of custom rules you would like to write. Ignore what you may or may not know about what's...
on
4 Jul 2007
Blog Post:
Come chat with the Team System product team tomorrow
David M. Kean
Join members of the Visual Studio Team System product group to discuss features available in Visual Studio Team Foundation Server, Team Editions for Architects, Developers, Database Pros, and Testers. In addition, discuss what's new in the upcoming Orcas CTP. We will be holding two sessions: Join...
on
3 Jul 2007
Blog Post:
FAQ: How do I debug a custom rule?
David M. Kean
While writing your custom rule, you will likely come across a need to debug it and work out why it's behaving in a particular manner. Debugging within FxCop Debugging a custom rule within the FxCop UI is actually quite easy. To do so, simply: Open the FxCop project that contains your custom...
on
16 May 2007
Blog Post:
FAQ: Why is file and line information available for some warnings in FxCop but not for others?
David M. Kean
It appears that sometimes FxCop displays a link to the source line and file in the Message Details window and sometimes it doesn't. Why this inconsistent behavior? There are three usual reasons why this occurs: Source lookup is disabled. To turn source lookup on, choose Project -> Options...
on
12 May 2007
Blog Post:
Krzysztof Cwalina on Framework Design Guidelines and API Design
David M. Kean
A lecture on API design by Krzysztof Cwalina (the brains behind the Framewok Design Guidelines ) has been posted on the Research Channel . This class presents best practices for designing frameworks that are reusable object-oriented libraries. The guidelines are applicable to frameworks ranging...
on
10 May 2007
Blog Post:
Dealing with a Code Analysis backlog?
David M. Kean
Nicole Calinoiu has started a (what I hope to be long) series on introducing Code Analysis (FxCop in particular) to your team. Her first couple of posts are absolute rippers , check them out: FxCop and the big, bad backlog FxCop backlogs: Some rules for rule activation She's also written some...
on
4 May 2007
Blog Post:
Code Analysis (Team System) Chat Roundup
David M. Kean
We had two great chats last Friday . Thank-you to all that attended, I had a lot of fun. The following is a list of Code Analysis questions that were asked: Code Metrics DavidKean_MS (Moderator): Q: JeffBe: I'm very interested in the code metrics, are these integrated into build reports though...
on
2 May 2007
Blog Post:
We have a new forum!
David M. Kean
Well...okay, I lied, it's actually the same great forum as before, it's just been renamed. Visual Studio Code Analysis and Code Metrics Discuss issues regarding Visual Studio's Code Analysis features, including both Managed and C/C++ Code Analysis, Code Analysis Policy and Code Metrics, a new feature...
on
25 Apr 2007
Blog Post:
Code Analysis (Team System) Chat - This Friday
David M. Kean
Update: We've added another session for Asia and the Pacific. Join members of the Visual Studio Team System product group to discuss features available in Visual Studio Team Foundation Server, Team Editions for Architects, Developers, Database Pros, and Testers. In addition, discuss what's new...
on
22 Apr 2007
Blog Post:
FAQ: How do I get the SourceContext for a local?
David M. Kean
I want to fire on the naming of a local, however, whenever I pass the local to the Problem constructor, the source information for the method is always used. How do I get FxCop/Code Analysis to use the source information for the local instead? Because the declaration of a local is not associated with...
on
27 Mar 2007
Blog Post:
FAQ: How do I run FxCop during a post-build event?
David M. Kean
A little known feature of FxCop (in particular FxCopCmd.exe) is its ability to be integrated into the build process within Visual Studio. Although not a replacement for the Code Analysis functionality available within both Visual Studio Team Edition for Developers and Visual Studio Team Suite, it allows...
on
24 Feb 2007
Blog Post:
How to Design Exception Hierarchies
David M. Kean
Krzysztof Cwalina, owner of the Framework Design Guidelines , has written a great post on designing exception hierarchies . He gives a great overview on the different categories of exceptions, which are placed under two main buckets he calls usage and system , and the right situations to throw them....
on
1 Feb 2007
Page 1 of 2 (34 items)
1
2