Home > Software engineering >  What else can I do when the project "Could not load file or assembly 'Microsoft.Extensions
What else can I do when the project "Could not load file or assembly 'Microsoft.Extensions

Time:01-19

I get this on run-time: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions

I have tried the following steps by Skorunka František without success: Visual on Visual studio

I have tried the following steps by Skorunka František without success: Link to StackOverFlow post

CodePudding user response:

I faced the same issue previously and the solutions I found

  1. Uninstall the package
  2. delete obj and bin files
  3. re-install it again from nuget package

still doesn't work then

  1. Delete obj and bin files
  2. Add => references => browse => add the proper dll from C:\Program Files\dotnet\
  3. rebuild

Hope this helps you!

  • Related