Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Code Contract does not work on Visual Studio 2017

$
0
0

I have an old project which uses Code Contract.


When I opened in Visual Studio 2017, it does not show the Code Contract link in the project properties.

"It shows an error message - An assembly must be rewritten using the code contracts binary rewriter (CCRrewrite) because it is calling

Contract.Requires<TException> and the CONTRACTS_FULL symbol is defined."


I installed Code Contract and still it is not working.


Any idea!

Thanks,


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>