Visual Studio Toolbox: Analyzing Your Code
- Posted: Nov 02, 2011 at 1:01 PM
- 59,559 Views
- 6 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
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.
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.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Great! You didn't get to fixing the naming on your objects and functions, etc. :/ But thanks for showing this, really usefull!
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
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
close