Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Visual Studio Toolbox: Analyzing Your Code

38 minutes, 50 seconds


Right click “Save as…”

In this episode, Robert looks at how you can analyze your code to see if it meets coding standards. Standards are made up of rules and Visual Studio includes about 200 rules organized into rule sets. If you are using Visual Studio Premium or Ultimate, you can use the managed code analysis tool to check your code and see where your code violates the rules. If you don't have Premium or Ultimate, you can use FxCop, a standalone code analysis tool that is part of the Windows SDK.


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • martinminemartinmine I eat C# for breakfast

    Great! You didn't get to fixing the naming on your objects and functions, etc. :/ But thanks for showing this, really usefull! Big Smile

  • David CharronDavid Charron

    It would have been nice to be able to auto correct the code just by clicking the warnings.

  • Not bad, I've been thinking about integrating this stuff with our build server some day.

    I just wish FxCop would have come farther by now. It's been around for a while and still has the same idiosyncrasies it's always had. It's not very easy to find a download link either, just try to Google it (or Bing if that's your thing.)

  • @martinmine: Check out the previous episode on building a CodeRush plug-in that fixes the naming. I posted on my blog about how to download and use the plug-in. Works great.

  • i like your style - since I saw your appdev videos [they we're purchased legally, so don't worry], good work Wink

  • RogerRoger

    Thanks robert , i liked your style since the first episode , i keep checking channel 9 waiting for more of your episodes.

Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.