Adam Hathcock’s Life in Software

Be Explicit 
« Back to blog

I just installed Visual Studio 2010, now how do I get Code Contracts?

This article is to show you how to go from a clean install of Visual Studio 2010 to running the Code Contract tools for the first time.  Since the tools aren’t included in VS install, we thought we’d provide some extra information on where to find them.  If you’re already using Code Contracts in Visual Studio 2010, this blog post probably won’t have anything new for you.  If you want an overview of the System.Diagnostics.Contracts.Contract class, please see earlier blog posts or documentation.  This post is just about getting set up for the very first time.

I completely forgot about code contracts in VS2010. Nice reminder and tagging this for later info.

Loading mentions Retweet

Comments (0)

Leave a comment...

 
Got an account with one of these? Login here, or just enter your comment below.
Posterous-login    twitter