I\'m trying to run the VS12 memory profiler on a WinForms project but when I do, the application starts up, it appears to be working correctly, but then the report comes up
I was able to generate Sample Profiling Report by using "Developer Command Prompt for VS2012" following VSPerfCLREnv
VSPerfCLREnv /SampleOn
VSPerfCLREnv /SampleGC
VSPerfCmd /Start:Sample /Output:MyApp.exe.vsp /Launch:MyApp.exe
Then after closing MyApp.exe
have executed VSPerfCmd.exe /Shutdown
in same Command Prompt, and MyApp.exe.vsp
was generated
VSPerfCmd.exe /Shutdown
This file MyApp.exe.vsp
can be open in VS2012
Note: Executing VSPerfCmd with /GC option shows the same DA0002 error. My environment is Win7 x86.