title: TFS/VSTS/Azure Devops - Cannot run tests from test plan using associated automation
body: <p>After setting up the release definition with tasks exactly like those in this document:</p>
  
  <p><a href="https://docs.microsoft.com/en-us/azure/devops/test/run-automated-tests-from-test-hub?view=azure-devops" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/devops/test/run-automated-tests-from-test-hub?view=azure-devops</a></p>
  
  <p>I am continuing to get the error:</p>
  
  <p><code>Selected environment does not have the right version or settings of the Visual Studio Test task to run tests.</code></p>
  
  <p>My current configuration can be seen below.</p>
  
  <p>Link to screenshot of VsTest task.</p>
  
  <p><a href="https://i.stack.imgur.com/gf1N9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gf1N9.png" alt="Link to screenshot of VsTest task."></a></p>
  
  <p>Has anyone experienced this problem before? If so, how can I resolve it?</p>