Today I have installed VS Community 2022. I created defualt ASP.NET Core Web App from VS template, but when I try to start this application this is what I get:
NuGet package restore failed. Please see Error List window for detailed warnings and errors.
Error occurred while restoring NuGet packages: The operation failed as details for project WebApplication2 could not be loaded.
Error List window is empty, also I have a yellow triangle on my dependencies, and Paths to Microsoft.AspNetCore.App and Microsoft.NETCore.App are not specified as shown below:
I tried to unload and reload a project, also I tried run dotnet restore
but neither helped. What is more I downloaded VS 2022 on my personal PC, created ASP.NET Core Web App and everything works fine. I don't know how to resolve this and any help will be really appreciated.