Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What 's wrong with VS2012 and Performance Analyzer?

I am trying to do some perf. analysis on a piece of code that is dog slow... I start VS2012 Premium as Admin, load my solution and the go to 'Analyze - Launch Performance Wizard' Immediately I am shown a dialog that says:

Could not load file or assembly 'VSPerfReader.DLL' or one of its dependencies.

Awesome! The file is located here:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Team Tools\Performance Tools

I can start Windows Performance Analyzer (standalone) from 'start' just fine btw.

like image 630
noocyte Avatar asked Sep 03 '12 18:09

noocyte


1 Answers

Had the same issue, adding the following line to my system path variable and restarting visual studio did the trick.

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Team Tools\Performance Tools

Credit to Ade Miller in the comment for the solution.

like image 61
Ryan Taylor Avatar answered Nov 16 '22 01:11

Ryan Taylor