title: Azure Devops Cant Run xUnit tests
body: <p>I have an ASP.Net Core Web API application with unit tests built using xUnit. I am currently using the .Net Core 2.1.4 SDK and have the <code>Microsoft.AspNetCore.All</code> nuget package installed in both the Web API and xUnit project. I am able to build and run the Web API and the tests just fine on my local machine.</p>
  <p>The application builds just fine in Azure Devops, however I cannot get the tests to run.</p>
  <p>I am running the tests on Azure Devops using the Dotnet <code>Test</code> command. I have the step configured like so:</p>
  <p><a href="https://i.stack.imgur.com/R2TLf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R2TLf.png" alt="Test configuration" /></a></p>
  <p>After the step sucessfully builds the tests project, I get the error:</p>
  <p><code>The specified framework 'Microsoft.AspNetCore.All', version '2.1.4' was not found. Test Run Aborted</code></p>
  <p>Additionally the console tells me the following versions of <code>Microsoft.AspNetCore.All</code> are installed:</p>
  <p><code>2.1.0</code>
  <code>2.1.1</code>
  <code>2.1.2</code></p>
  <p>Do I need to set something up in Azure Devops that specifies which version of .Net Core my project requires? If that is the case, why is the Web API/test project able to build even though they require 2.1.4?</p>