Brk Brk - 4 months ago 68
C# Question

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


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.