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

Missing System.Runtime 5.0.0.0 after rewrite #219

Closed
shaya-pb opened this issue Aug 6, 2021 · 2 comments
Closed

Missing System.Runtime 5.0.0.0 after rewrite #219

shaya-pb opened this issue Aug 6, 2021 · 2 comments

Comments

@shaya-pb
Copy link

shaya-pb commented Aug 6, 2021

After running coyote rewrite on a .dll which is used by non-Microsoft.Coyote.SystematicTesting.Test unit tests (nunit tests which call into TestingEngine), the subsuquent running of dotnet test throws a Missing System.Runtime 5.0.0.0 etc. exception.

Looking into the rewritten dll with ildasm shows that Coyote added a reference to System.Runtime 5.0.0.0 in addition to System.Runtime 4.2.0.0, while the original dll only references System.Runtime 4.2.0.0.

I created a sample project to portray the issue.

@pdeligia
Copy link
Member

pdeligia commented Aug 9, 2021

Thanks for opening this issue @shaya-pb we will investigate (together with your related issue on the samples repo) and let you know. Creating a sample repo is also very helpful, thanks for doing that!

@pdeligia
Copy link
Member

This seems to be an issue with netcoreapp3.1 which will go out of support very soon. Closing this issue as it does not seem to appear in later .NET versions.

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