Visual Studio 2005

[How Do I:] Enforce Coding Standards with Code Analysis?

By Chris Menegay|6 minutes|
With Visual Studio Team System you have fine control over the code analysis rules that apply to class library projects, web site projects, and source code control. In this video we learn how to specify the errors and warnings that will apply during project builds and code check ins, and we see how to suppress a particular rule from applying to a specific class member. With this configurability you can enforce coding standards to improve the quality of your code, while ensuring inapplicable rules never get in your way.


This article was originally created on July 9, 2007

Author Information

Chris Menegay

Chris Menegay – Chris Menegay is a Development Process Specialist for Notion Solutions, Inc., a consulting and training firm specializing in software development process and Visual Studio Team System. He has been working with Visual Studio Team System full-time since 2004. Chris has been working closely with Microsoft since 2004 to understand the direction of Visual Studio Team System and working with customers to improve their software development teams by implementing the tools effectively. Chris has worked with a variety of companies ranging in size from 50 employees up to Fortune 100 companies. He has written white papers and articles on Team System for MSDN and MSDN Magazine. Chris is a Microsoft MVP (Team System), a Microsoft Regional Director and a member of the INETA Speakers Bureau.