The project 'Web' must provide a value for Configuration” error after migrating to .NET Core 3



To fix this :-

If it is in .net 3.0, remove all these

"Microsoft.AspNetCore.Mvc" Version="2.2.0"

"Microsoft.AspNetCore.Mvc.Razor.ViewCompilation" Version="2.2.0"

And make it look like this below :-





Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type