Microsoft.Azure.WebJobs.Script: Error configuring services in an external startup class. HRAux.API: Could not load file or assembly 'System.ComponentModel, Version=8.0.0.0, Culture=neutral, PublicKeyREDACTED (possible password or key detected)

siva kumar 0 Reputation points
2025-05-07T05:20:18.05+00:00

We’ve been attempting to update our Azure Functions project from .NET 6 to .NET 8, but we're encountering an issue when deploying the function app. The error message we're seeing is:
Microsoft.Azure.WebJobs.Script: Error configuring services in an external startup class. HRAux.API: Could not load file or assembly 'System.ComponentModel, Version=8.0.0.0, Culture=neutral, PublicKeyREDACTED (possible password or key detected)

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,237 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.