I installed VS2019 with .NET5 SDK on Windows 10. Today it stops working. VS2019 cannot build any .NET project, without showing any error.
I tried to run dotnet build and dotnet restore. It hangs forever without any error. Screenshot: dotnet restore hangs forever without any error
Earlier today my C drive was full. I moved the C:\Users\<user>\.nuget directory to D:\Temp\.nuget, and created a junction point mklink /J C:\Users\<user>\.nuget D:\Temp\.nuget. After I resized my C drive, I moved that directory back. This may be the cause of problem.
I tried to uninstall my .NET 5 SDK, but it does not allow me to do so. Screenshot: .NET 5 SDK was installed with VS2019
I tried to reinstall VS2019 with manually cleanup everything. The problem remains.
Is there anything that I can do before reinstall OS? Thank you.