My csproj defines a build configuration 'Debug-plus' with Code Contracts.
<PropertyGroup Condition="'$(Configuration)' == 'Debug-plus'">
<DefineConstants>TRACE;DEBUG;CONTRACTS_FULL</DefineConstants>
<CodeContractsEnableRuntimeChecking>True</CodeContractsEnableRuntimeChecking>
What happens if someone tries to build the project in this configuration without Code Contracts installed?
Ideally, I would like them to see an error with a message explaining how to install Code Contracts. The worst could happen would be for the build to succeed but without code contracts being checked at runtime, so for tests to give different results on different computers.