Brk Brk - 1 year ago 180
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

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download