| Author |
Message |
bpaetzke
Joined: 21 Sep 2009 Posts: 3 Location: Los Angeles, CA
|
Posted: Mon Sep 21, 2009 9:57 pm Post subject: How to enable profiling website in Visual Studio? |
|
|
The two "profile" buttons are disabled in the ANTS5 toolbar of my web solution in Visual Studio 2008. How can I enable them?
Let me spell out what the buttons are--just in case there's question. When I hover over the two disabled buttons they say:
* "Profile the memory of this project in ANTS Memory Profiler 5"
* "Profile the performance of this project in ANTS Profiler 5"
Also, in the menu bar, the ANTS5 menu has these items disabled:
* Profile Performance
* Profile Method-level Performance
* Profile Memory
FYI, the rest of the items in the menu bar are enabled:
* Launch ANTS5 Performance Profiler
* Launch ANTS5 Memory Profiler
* Performance Profiler Help
* Memory Profiler Help
* About ANTS5 Profiler |
|
| Back to top |
|
 |
bpaetzke
Joined: 21 Sep 2009 Posts: 3 Location: Los Angeles, CA
|
Posted: Tue Sep 22, 2009 10:19 pm Post subject: A workaround for this |
|
|
I found a workaround now.
The workaround was to:
1) create a new solution
2) add my existing web project and class library projects
3) set the web project as the startup project
4) then profile
Originally, I did step 4 before 3. And that resulted in disabling the profiling buttons. But if you know a fix for this w/o having to recreate the solution, let me know. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6369 Location: Red Gate Software
|
Posted: Wed Sep 23, 2009 10:56 am Post subject: |
|
|
Hi Bill,
The ANTS Profiler add-in is a bit finicky when it comes to web projects. In most cases, it disables the menu items when the projects does not produce executable output, but it also checks the first project in the solution rather than scoping to the currently-selected project when there is more than one project in the solution. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group