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

Latest windows 10 update --> Binding failure: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.5.0.0 #48

Open
wil70 opened this issue Jun 21, 2020 · 2 comments

Comments

@wil70
Copy link

wil70 commented Jun 21, 2020

Hello,
I use all latest (windows 10 latest June 2020 update)
I have .net 4.8 and 4.72
Whe I run the application I got the following error:
'BindingFailure' : 'The assembly with display name 'Microsoft.CodeAnalysis' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'

Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Any idea how I could solved this?
Thank you!

@wil70 wil70 changed the title Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.5.0.0 Latest windows 10 update --> Binding failure: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.5.0.0 Jun 21, 2020
@wil70
Copy link
Author

wil70 commented Jun 22, 2020

I guess it is related to bug #44 as I'm also using .Net Framework instead of .Net Core....
How do we make it work for .Net Framework?

@wil70
Copy link
Author

wil70 commented Jun 22, 2020

It works great with an app that uses .net core 3.1, but it fails with an app that uses .net framework 4.7.2 and 4.8 , any idea how to solve this?
Thank you!!
image

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

1 participant