Browse by Tags

Tagged Content List
  • Blog Post: 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 http://go.microsoft.com/fwlink/?LinkId=129231 . The goal of the Community Technology Preview is to obtain feedback from...
  • Blog Post: 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
  • Blog Post: 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 reduce noise, missing analysis and rule crashes. New portability rule: Use Only API from...
  • Blog Post: David Kean's new blog

    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...
  • Blog Post: FAQ: How do I prevent FxCop 1.36 from firing warnings against generated code?

    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...
  • Blog Post: What happened to the download and documentation of FxCop 1.35?

    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...
  • Blog Post: Tutorial on writing your own Code Analysis rule

    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...
  • Blog Post: FAQ: Which Code Analysis rules shipped in which version?

    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. ...
  • Blog Post: Come chat with the Code Analysis team tomorrow

    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...
  • Blog Post: Try the Code Analysis Rule Sets Feature in the November "Rosario" November 2007 CTP

    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...
  • Blog Post: FxCop 1.36 Beta Released!

    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...
  • Blog Post: What rules do Microsoft have turned on internally?

    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...
  • Blog Post: FxCop Designers Honored with the Engineering Excellence Chairman's Award

    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...
  • Blog Post: What kind of custom rules do you want to write?

    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...
  • Blog Post: Come chat with the Team System product team tomorrow

    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...
  • Blog Post: FAQ: How do I debug a custom rule?

    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...
  • Blog Post: FAQ: Why is file and line information available for some warnings in FxCop but not for others?

    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...
  • Blog Post: Krzysztof Cwalina on Framework Design Guidelines and API Design

    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...
  • Blog Post: Dealing with a Code Analysis backlog?

    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...
  • Blog Post: Code Analysis (Team System) Chat Roundup

    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...
  • Blog Post: We have a new forum!

    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...
  • Blog Post: Code Analysis (Team System) Chat - This Friday

    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...
  • Blog Post: FAQ: How do I get the SourceContext for a local?

    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...
  • Blog Post: FAQ: How do I run FxCop during a post-build event?

    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...
  • Blog Post: How to Design Exception Hierarchies

    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....
Page 1 of 2 (34 items) 12