Visual Studio 2013 will start profiling greyed out

I've worked with Visual Studio's built-in profiler from time to time and found it to be a very useful tool.

Now I cannot do this, because the menu items "Start profiling" and "Start profiling paused" in the "Analyzer-> Profiler" section are grayed out.

This is a Windows Form solution.

Any idea what could be causing this?

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

+3


source to share


2 answers


Open a performance explorer window ( analyze -> windows -> performance explorer

) and check if you have selected any target.

If you don't add your windows project as a target (right click on Targets and follow the menu) than you can start profiling.



EDIT: Make sure to include your startup project as one of the target values. You can right click on this target and uncheck Collect Samples if you do not need sample data from this project.

+8


source


This helped me choose

Debug-> Run diagnostic tools without debugging (Alt + F2)



... This will create a productivity wizard and from there you can continue to do what you want.

+2


source







All Articles