Last week, I was trying to create a continuous integration build for a client, but the unit tests always failed. So I logged on to the build server and ran the tests from the command line. After a few tests, I received the following error message:
This errors tells me 2 things:
First I need to install the Code Contracts functionality on the build server. (You can download it here)
Second I have to turn on the runtime checking for the project which is using the code contracts.