title: VSIntr no data is collected
body: <p>I am trying to instrument our application looking for performance optimizations, but I cannot manage to get any data out of it. I am mainly interested in function running times and how many times where they were called.</p>
  
  <p>Can you point to the flaw in my process please?</p>
  
  <p>Here is what I do:</p>
  
  <p><strong>1. VSInstr MyAssembly.dll</strong></p>
  
  <p>This creates the instumented dll (like twice the size) and backs up the original.
  I get a warning about strong-named things so step 2</p>
  
  <p><strong>2. sn -Ra MyAssembly.dll TheKeyFile.snk</strong></p>
  
  <p>Says resigning is successfull</p>
  
  <p><strong>3. VsPerfCLREnv /traceon</strong></p>
  
  <p>Setting up environment variables</p>
  
  <p><strong>4. Running the program. I go right before the step I want to investigate.</strong></p>
  
  <p><strong>5. VsPerfCmd /start:trace /output:../Reports/Report.vsp</strong>  </p>
  
  <p>Starting the trace</p>
  
  <p><strong>6. Clicking the button to do the process (app creation) and waiting to finish</strong></p>
  
  <p><strong>7. VSPerfCmd /shutdown</strong></p>
  
  <p>Stop tracing.</p>
  
  <p><strong>8. VSPerfCLREnv /off</strong></p>
  
  <p>Reset environment to normal</p>
  
  <p>At the end of all this I check the Report.vsp file. It is a 148KB file which when opened in VS2017 throws these two error popups and fails to open anything:</p>
  
  <ul>
  <li>File contains no data buffers </li>
  <li>Failed to analyse report</li>
  </ul>