title: Can I instrument an exe file using vsinstr?
body: <p>I've been trying to verify the code coverage of an exe file. To achieve this, I'm trying to instrument the exe file (not dll) and then start/stop the coverage.
  Every tutorial describes about the instrumentation of dll only. Is it possible to achieve it for exe? If yes, what are the special options I need to give.</p>
  
  <p>Here are the commands, I've been trying for exe:</p>
  
  <pre><code>vsinstr -coverage Test.exe
  </code></pre>
  
  <p>Returns success message and creates another copy of exe</p>
  
  <pre><code>vsperfcmd -start:coverage -output:Result.coverage
  
  vsperfcmd -shutdown
  </code></pre>
  
  <p>It creates the output file successfully. But when the file opened in visual studio shows the error message:
  "Empty results generated: No binaries were instrumented. Make sure the tests ran, required binaries were loaded, had matching symbol files, and were not excluded through custom settings."</p>
  
  <p>Please help</p>