title: How to publish results using dotnet test command
body: <p>I have a test project written in dotnet core. This need to publish the results in an XML or HTML format. Is there a way I can publish the results to a particular directory using the same command?<br>
  <code>--result-directory</code> is not working for me</p>