-
Notifications
You must be signed in to change notification settings - Fork 448
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
Microsoft.Extensions.Logging.Abstractions not found on latest beta version upgrade #3511
Comments
I have encountered this same issue. Have you found a resolution yet? |
@codingdiva No I haven't been able to resolve the issue. Doesn't matter what version I reference, I get this issue so at this point I am blocked which is highly annoying as there are some update that I want to push out. |
Same problem here after when I tried to use ILogger in Azure Functions. |
I'm also shocked that It should be part of the new, shiny things, now what Functions are all .NET Core, etc... |
I don't see this anymore with the latest bit, but I think one thing to make sure of is to double check that you are using the latest cli. I'm still on a very old cli version and have issues getting that updated, but that might be the issue with this also - having an old cli version. |
@mieliespoor when you say "double check that you are using the latest cli" can you please confirm what that exact tool is, please? (screen shot?) |
@PureKrome when you run your function app through Visual Studio, you will see a message, in the console, similar to: |
Ok, so i've got a version that's older than yours. So how do I update the CLI please? |
Have a look at #3759 . I'm also on that same version and Visual Studio don't seems to update the cli to the latest version. |
I'm closing this in favour of #3759 |
I am trying to upgrade my function app to the latest beta version available but face the following exception:
If the Microsoft.Extensions.Logging.Abstractions 2.1.1 package is not installed:
System.Private.CoreLib: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621). System.Private.CoreLib: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
If the Microsoft.Extensions.Logging.Abstractions package is not installed:
System.Private.CoreLib: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621). System.Private.CoreLib: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
I have tried to following options:
With every version I tried to install I get the error mentioned with the only difference the version number changes to the installed version of the package.
I started the discussion in this thread: Azure/app-service-announcements-discussions#64 (comment)
The text was updated successfully, but these errors were encountered: