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

While upgrading .net project from 6 to 8, got error #110405

Closed
vsfeedback opened this issue Dec 4, 2024 · 8 comments
Closed

While upgrading .net project from 6 to 8, got error #110405

vsfeedback opened this issue Dec 4, 2024 · 8 comments
Labels
area-Extensions-Configuration needs-author-action An issue or pull request that requires more info or actions from the author. no-recent-activity

Comments

@vsfeedback
Copy link

vsfeedback commented Dec 4, 2024

This issue has been moved from a ticket on Developer Community.


While upgrading .net project from 6 to 8, I got error says: could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=8.0.0.0.

Steps I performed to troubleshoot are:

  1. Clean Solution
  2. build solution
  3. Clean packages form local
  4. restored packages
  5. Tried adding Microsoft.Extensions.Configuration.Abstractions package with different versions 6/7/8/9 but nothing is working it is keep on giving error.

Error message
Image


Original Comments

Feedback Bot on 11/27/2024, 09:32 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Dec 4, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.

@tarekgh tarekgh added this to the 8.0.x milestone Dec 4, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-extensions-configuration
See info in area-owners.md if you want to be subscribed.

@tarekgh tarekgh removed the untriaged New issue has not been triaged by the area owner label Dec 4, 2024
@tarekgh
Copy link
Member

tarekgh commented Dec 4, 2024

Please try to provide a sample project demonstrating the issue so we can help tell you what exactly the problem is. My guess here is your project is referencing some other aspnet package with a different version than the one of the configurations abstraction version.

@tarekgh tarekgh added the needs-author-action An issue or pull request that requires more info or actions from the author. label Dec 4, 2024
Copy link
Contributor

This issue has been marked needs-author-action and may be missing some important information.

@tarekgh
Copy link
Member

tarekgh commented Dec 4, 2024

CC @ericstj

@ericstj
Copy link
Member

ericstj commented Dec 4, 2024

Seems like this is coming from Azure Functions: https://github.com/Azure/azure-functions-host/blob/255b7e59538b9ab677d653daf347b3b0afa70dc9/src/WebJobs.Script/ScriptHostBuilderExtensions.cs#L280

As @tarekgh suggests there is some component that isn't updating. I know Azure Functions control some of the versions of these assemblies when using the "in-process" model, so it could be that you're compiling against one thing but running against a different thing.

You might find the following resource helpful:
https://learn.microsoft.com/en-us/azure/azure-functions/migrate-dotnet-to-isolated-model?tabs=net8

cc @fabiocav

Copy link
Contributor

This issue has been automatically marked no-recent-activity because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will remove no-recent-activity.

Copy link
Contributor

This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.

@dotnet-policy-service dotnet-policy-service bot removed this from the 8.0.x milestone Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Extensions-Configuration needs-author-action An issue or pull request that requires more info or actions from the author. no-recent-activity
Projects
None yet
Development

No branches or pull requests

3 participants