 <p>You need to provide full path to the .trx file. With below changes in begin analysis and try it again.</p> <p><strong>Change</strong></p> <pre><code>/d:sonar.cs.vstest.reportsPaths=../TestResults/*.trx </code></pre> <p><strong>To</strong></p> <pre><code> /d:sonar.cs.vstest.reportsPaths=../TestResults/Mytest.trx </code></pre>