title: How could I prevent my .NET project from upgrading the minor version automatically?
body: <p>Yesterday my tests were working fine.</p>
  <p>Today I start working and find out that my test fail. I investigate the issue and it turns out that now my project expects the <code>6.0.8</code> version of .NET, while yesterday it was happy with the <code>6.0.7</code>. So, I have to go and download the respective runtime for the tests to run. And here is what I have specified in my <code>.csproj</code>: <code>&lt;TargetFramework&gt;net6.0&lt;/TargetFramework&gt;</code>.</p>
  <p>How could I avoid this involuntary version updates?</p>