title: How does the .NET Installer task chooses which version to install?
body: <p>I have created a test pipeline with a .NET Core Installer task like this:</p>
  
  <p><a href="https://i.stack.imgur.com/C27fy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C27fy.png" alt="Build task"></a></p>
  
  <p>Running the task today (2019-11-22), it installs <code>v2.2.402</code>:</p>
  
  <pre><code>##[section]Starting: Use .Net Core sdk 2.2.x
  ==============================================================================
  Task         : Use .NET Core
  Description  : Acquires a specific version of the .NET Core SDK from the internet or the local cache and adds it to the PATH. Use this task to change the version of .NET Core used in subsequent tasks. Additionally provides proxy support.
  Version      : 2.0.24
  Author       : Microsoft Corporation
  Help         : https://aka.ms/AA4xgy0
  ==============================================================================
  Tool to install: .NET Core sdk version 2.2.x.
  Found version 2.2.402 in channel 2.2 for user specified version spec: 2.2.x
  Version: 2.2.402 was found in cache.
  Creating global tool path and pre-pending to PATH.
  ##[section]Finishing: Use .Net Core sdk 2.2.x
  </code></pre>
  
  <p>According to the <a href="https://dotnet.microsoft.com/download/dotnet-core/2.2" rel="nofollow noreferrer">Download .NET Core 2.2</a> page, SDKs <code>2.2.402</code>, <code>2.2.206</code> and <code>2.2.109</code> (runtime <code>v2.2.7</code>) were released on <strong>September 10th 2019</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/YCq8i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YCq8i.png" alt=".NET Core SDK v2.2.402"></a></p>
  
  <p>But SDKs <code>2.2.207</code> and <code>2.2.110</code> (runtime <code>v2.2.8</code>) were released on <strong>November 19th 2019</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/Dikdu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Dikdu.png" alt=".NET Core SDK v2.2.207"></a></p>
  
  <p>So, acccording to the documentation of the <a href="https://docs.microsoft.com/en-gb/azure/devops/pipelines/tasks/tool/dotnet-core-tool-installer?view=azure-devops" rel="nofollow noreferrer">.NET Core Installer task</a>, versions can be given in the following formats:</p>
  
  <ul>
  <li><code>2.x</code> => Install latest in major version.</li>
  <li><code>2.2.x</code> => Install latest in major and minor version</li>
  <li><code>2.2.104</code> => Install exact version</li>
  </ul>
  
  <p>Why was <code>v2.2.402</code> installed? What is the criteria used for choosing the version of the SDK to install when using wildcards such as <code>2.2.x</code> or <code>2.1.x</code>? </p>