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