title: Dotnet test task fails with ''MSB1008: Only one project can be specified" error after upgrade to version 2.0
body: <p>The TFS instance I am working on was recently upgraded from TFS 2017 Update 1 to TFS 2018 Update 2, allowing me to change the dotnet task version used in my build definitions from 0.* to 2.*.</p>
  
  <p>In doing so, the dotnet test step no longer works, returning the following error:</p>
  
  <pre><code>MSBUILD : error MSB1008: Only one project can be specified.
  Switch: trx
  </code></pre>
  
  <p>The command it runs is:</p>
  
  <pre><code>C:\Program Files\dotnet\dotnet.exe" test &lt;Agent_WorkFolder&gt;\1\w\3\s\source\MySolution\MyProject.csproj --configuration release --logger trx --logger trx --results-directory &lt;Agent_WorkFolder&gt;\1\w\_temp
  </code></pre>
  
  <p>The parameters given to the task are:</p>
  
  <ul>
  <li>Paths to projects = <code>**\*Tests*.csproj</code></li>
  <li>Arguments = <code>--configuration $(BuildConfiguration) --logger trx</code></li>
  </ul>
  
  <p>Reverting the task version back to 0.*, and it runs again. What is causing this error?</p>