title: Nuget restore fails with .NET Core SDK 5.0.100
body: <p>I just updated a solution to use <code>net50</code>, and it builds locally, but does not build in an Azure pipeline. How do I specify an Azure pipeline agent capable of building <code>net50</code> projects?</p>
  <hr />
  <p>The pipeline fails on the <code>nuget restore</code> step with the following error:</p>
  <pre><code>The nuget command failed with exit code(1) and error([***].csproj : error : 
  Version 5.0.100 of the .NET Core SDK requires at least version 16.8.0 of MSBuild. 
  The current available version of MSBuild is 16.7.0.37604. 
  Change the .NET Core SDK specified in global.json to an older version that requires the MSBuild version currently available.
  </code></pre>
  <p>My pipeline yaml includes:</p>
  <pre class="lang-yaml prettyprint-override"><code>trigger:
  - master
  
  pool:
    vmImage: 'windows-latest'
  
  variables:
    buildConfiguration: 'Debug'
  
  steps:
  
  - task: UseDotNet@2
    displayName: 'Use .NET Core sdk'
    inputs:
      packageType: sdk
      version: 5.x
      installationPath: $(Agent.ToolsDirectory)/dotnet
  
  - task: NuGetCommand@2
    displayName: 'nuget restore'
    inputs:
      restoreSolution: '**/*.sln'
      feedsToUse: config
      nugetConfigPath: 'NuGet.config'
  
  </code></pre>