Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013 start profiling greyed out

I used to work with the built in profiler of Visual Studio once in a while and found it a very useful tool.

Now, I can't do this, because the menu items "Start profiling" and "Start profiling paused" under Analyze->Profiler are greyed out.

It's a Windows Form Solution.

Any idea what might be causing this?

Microsoft Visual Studio Premium 2013 / Version 12.0.31101.00 Update 4 / Microsoft .NET Framework Version 4.5.51650

like image 308
Brk Avatar asked Dec 15 '22 13:12

Brk


1 Answers

Open performance explorer window (analyze -> windows -> performance explorer) and see if you have selected any target.

If not add your windows forms project as target (right click on "Targets" and follow menus) than you should be able to start profiling.

EDIT: Be sure to include your start up project as one of the Targets. You can right click this target and uncheck "collect samples" if you don't want sample data from this project.

like image 70
Michał Brix Avatar answered Dec 27 '22 19:12

Michał Brix