Visual Studio Toolbox: Analyzing Your Code
- Posted: Nov 02, 2011 at 1:01 PM
- 58,018 Views
- 6 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- Mid Quality WMV (Lo-band, Mobile)
- High Quality MP4 (iPad, PC)
- MP4 (iPod, Zune HD)
- Mid Quality MP4 (WP7, HTML5)
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 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.
Follow the Discussion
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