Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Team

I need someone who can help to fix this issue, each time when i run my MVC application i get this exception "Microsoft Extension.Configuration.Abstractions or one of its dependencies. The located assembly manifest definition does not match the assembly reference.

What I have tried:

Install-Package Microsoft.AspNet.Identity.Owin -Version 2.2.3
Posted
Updated 3-Feb-20 4:27am
Comments
MadMyche 3-Feb-20 10:29am    
More details would be helpful; such as which version of Net Core you are running AND the line of code that is generating the error

1 solution

By default, NuGet will install the lowest compatible version of any dependent libraries.

You almost certainly have a binding redirect in your config file which is trying to load a newer version of Microsoft Extension.Configuration.Abstractions than the one you have installed.

Check the NuGet package manager for updates to the installed packages, and check that any binding redirect versions in your config file match the installed versions of the libraries they refer to.

Redirecting Assembly Versions | Microsoft Docs[^]
<bindingRedirect> Element | Microsoft Docs[^]
 
Share this answer
 
Comments
gcogco10 4-Feb-20 0:51am    
On My web.config i have this version, <assemblyidentity name="Microsoft.Extensions.Configuration.Abstractions" publickeytoken="adb9793829ddae60" culture="neutral">
<bindingredirect oldversion="0.0.0.0-3.1.1.0" newversion="3.1.1.0">

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900