Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading assembly 'Unity.Abstractions' generate System.OutOfMemoryException #17

Closed
bratchikov opened this issue May 16, 2018 · 2 comments

Comments

@bratchikov
Copy link

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
bratchikov added a commit to Flexberry/NewPlatform.Flexberry.ORM.ODataService that referenced this issue May 16, 2018
@Igorbek
Copy link
Owner

Igorbek commented May 17, 2018

Thank you for reporting.
This project is only integration of CodeContracts into MSBuild system.
Please file this issue in Microsoft Code Contracts.
For the reference version 1.12.0 is using CodeContracts binaries version 1.10.20606.1-rc2 (released on 6 Jun 2016), the latest version by now.

@Igorbek
Copy link
Owner

Igorbek commented Jun 8, 2018

Closing favor of microsoft/CodeContracts#501

@Igorbek Igorbek closed this as completed Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants