title: All nuget packages requiring net6.0 are "not compatible with net6.0" even after complete Windows reset
body: <p>After booting up my PC I tried to continue using a previous project I had been working on:
  ASP.NET MVC Core 6.0.</p>
  <p>All of a sudden Microsoft.EntityFrameworkCore was not installed in the solution.
  After trying to reinstall the Microsoft.EntityFrameworkCore nuget package I received the following errors:</p>
  <pre><code>Package restore failed. Rolling back package changes for 'BulkyBook' (my project)
  NU1202: Package Microsoft.Extensions.Logging 6.0.0 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Microsoft.Extensions.Logging 6.0.0 does not support any target frameworks.
  
  NU1202: Package Microsoft.Extensions.Options 6.0.0 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Microsoft.Extensions.Options 6.0.0 does not support any target frameworks.
  </code></pre>
  <p>... for all dependencies AND</p>
  <pre><code>NU1202: Package Microsoft.EntityFrameworkCore 6.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Microsoft.EntityFrameworkCore 6.0.0 does not support any target frameworks.
  </code></pre>
  <p>When trying to install ANY nuget packages requiring net6.0 I get the same issue.</p>
  <p>I have done a reset of Windows (keeping files but losing all programs) and fully reinstalled Visual Studio 2022.I still have the same issue.</p>
  <p>This is killing me, I'm willing to try anything.
  Image for proof:</p>
  <p><a href="https://i.stack.imgur.com/ydBrf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ydBrf.png" alt="Nuget package errors for net6.0" /></a></p>