Code Contracts Troubleshooting

Jan 30, 2012 at 8:49 PM

Note that if you have VS2010 and VS2011 (the beta) installed you will run into this problem:

http://qa.social.msdn.microsoft.com/Forums/en-US/codecontracts/thread/20330ac6-f28e-41f7-8c1e-ff669f8028b3

Follow the directions in the first comment to rectify the problem (copied below for your convenience).

Copy the contents of C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools to C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin.