data-structures-csharp icon indicating copy to clipboard operation
data-structures-csharp copied to clipboard

It throws if used in WPF app

Open sergeyDoroshenko opened this issue 5 years ago • 0 comments

Here is the exception content:

[Content] Description: An assembly (probably "CSharp.DataStructures") must be rewritten using the code contracts binary rewriter (CCRewrite) because it is calling Contract.Requires<TException> and the CONTRACTS_FULL symbol is defined. Remove any explicit definitions of the CONTRACTS_FULL symbol from your project and rebuild. CCRewrite can be downloaded from http://go.microsoft.com/fwlink/?LinkID=169180. After the rewriter is installed, it can be enabled in Visual Studio from the project's Properties page on the Code Contracts pane. Ensure that "Perform Runtime Contract Checking" is enabled, which will define CONTRACTS_FULL.

sergeyDoroshenko avatar Mar 23 '20 02:03 sergeyDoroshenko