This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Description
When in project used package Unity version="5.0.2" and CodeContracts.MSBuild version="1.12.0" then build error with output:
2> Reading assembly 'Unity.Abstractions' from 'C:\Work.NET\GitHub\NewPlatform.Flexberry.ORM.ODataService\packages\Unity.5.0.2\lib\net45\Unity.Abstractions.dll' resulted in errors.
2> Выдано исключение типа "System.OutOfMemoryException".
2>ccrewrite : error : Rewrite aborted due to metadata errors. Check output window
2> elapsed time: 1341,929ms
For the reference version 1.12.0 CodeContracts.MSBuild is using CodeContracts binaries version 1.10.20606.1-rc2 (released on 6 Jun 2016), the latest version by now.
Initial issue