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

Update packages in SmartEnum.SystemTextJson #114

Merged
merged 2 commits into from
Apr 18, 2021
Merged

Update packages in SmartEnum.SystemTextJson #114

merged 2 commits into from
Apr 18, 2021

Conversation

janosorcsik
Copy link
Contributor

Hi @ardalis!

If you have two projects A and B, and B has a reference to A.
And A is using the SmartEnum 2.0.1. and B is using the SmartEnum.SystemText.Json 1.0.0., you will get an error:

An unhandled exception has occurred while executing the request.
System.IO.FileLoadException: Could not load file or assembly 'Ardalis.SmartEnum, Version=1.0.11.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'Ardalis.SmartEnum, Version=1.0.11.0, Culture=neutral, PublicKeyToken=null'

If you downgrade the SmartEnum to 1.0.11. in A, the project will work again.

So this PR updates the package references to the latest.

@ardalis ardalis merged commit 7ca360b into ardalis:master Apr 18, 2021
@ardalis
Copy link
Owner

ardalis commented Apr 18, 2021

Thanks!

@Yaevh
Copy link
Contributor

Yaevh commented May 4, 2021

Ran into exactly the same problem yesterday. When is this fix scheduled for release?

@janosorcsik
Copy link
Contributor Author

The way I see it we need to upgrade all the SmartEnum sub-packages. Because this problem occurs in the NewtonSoft.Json project also.

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

Successfully merging this pull request may close these issues.

3 participants