The rest of the message probably states that you are using Contract.Requires< TException >.
As the documentation states, you have to enable runtime checking when using Contract.Requires<TException>
. The reason is that your code's execution depends on Contract.Requires<T>
throwing the expected exception if it pre-condition fails.
On the other hand, Contract.Requires(Boolean) only defines a precondition and doesn't affect your program's execution. At most, it will display an annoying Assertion message when it's pre-condition fails. No rewriting is necessary in this case.
The message is a bit misleading as the error is caused even when you don't enable Full runtime contract checking.
To fix this, you'll have to install the rewriter on all machines, or switch to using Contract.Requires(Boolean).