NightOwl888 commented on issue #889:
URL: https://github.com/apache/lucenenet/issues/889#issuecomment-1890818807

   This issue happens when you have a version conflict between the version of 
[Microsoft.Extensions.Configuration.Abstractions]() that we target and other 
libraries in your project. Unfortunately, the version resolution on these older 
packages doesn't work well and manual fixup is often required when you pull in 
another dependency that depends on 
Microsoft.Extensions.Configuration.Abstractions or any of the other libraries 
in Microsoft.Extensions.Configuration.
   
   The solution is to go through your project dependencies to determine the 
lowest version of Microsoft.Extensions.Configuration.Abstractions that can be 
targeted to resolve the conflict. You may use a higher version than this and it 
will work (in the master branch we are currently targeting 3.1.6, which seems 
to solve this).
   
   You can then either add a direct reference to 
Microsoft.Extensions.Configuration.Abstractions and all of the other 
Microsoft.Extensions.Configuration packages to your project or use [assembly 
binding 
redirects](https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/redirect-assembly-versions)
 to do the same.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to