I seem to be having an issue with running projects after upgrading to Visual Studio 2022 and installing Net 6.0 SDK. Whenever I open an existing project or even create a new one I get the below errors with the Dependencies.
If I try building the project I get the error:
There aren't any errors in the Error list.
Tried a few things but still nothing helps :
I've tried reinstalling Visual Studio 2022 and Net 6.0
- Tried unloading and reloading project
- Tried clearing Nuget cache
- Tried removing bin,obj, csproj.user,.vs folder
If I try building/debugging a project in Visual Studio Code everything works normally so it doesn't seem to be an issue with the SDK.
Also noticed that I am unable to open the Nuget Package Manager UI but the .csproj file is correct and void of any errors.
Anyone have any ideas on how to resolve this?

