Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the Microsoft.VisualStudio.Profiler.dll?

I'm trying to use the profiler in visual studio to find the bottleneck in my application. I want to test 1 method in particular so, I was following this guide :

http://msdn.microsoft.com/en-us/library/bb514149.aspx

But I got stuck on this part...

using Microsoft.VisualStudio.Profiler;

According to the MSDN page, this namespace is part of the Microsoft.VisualStudio.Profiler.dll, but I can't find this dll when I tried to add a reference to my project.

like image 407
Gudradain Avatar asked Dec 02 '14 21:12

Gudradain


2 Answers

Your build must reference the Microsoft.VisualStudio.Profiler.dll library, located in the Microsoft Visual Studio 9\Team Tools\Performance Tools directory.

This is from msdn documentation. Obviously if you have version higher than 9 you will look into that version.

like image 83
mybirthname Avatar answered Sep 24 '22 02:09

mybirthname


Doesn't have to be "9" in the path. probably whichever version you're having. for you (2013) it'll be here:

enter image description here

not sure what the others are.

link in higher res here.

Having said that, have a look at the above windows utility: everything search. you can type the name of the dll you're looking for, and results are instantaneous :)

like image 35
Noctis Avatar answered Sep 25 '22 02:09

Noctis