Why is the ANTS 5 menu grayed out in Visual Studio 2008?

Code profiling for .NET Developers

Why is the ANTS 5 menu grayed out in Visual Studio 2008?

Postby rgelb » Thu Feb 04, 2010 7:28 pm

At some point, the menu became disabled. The number of buttons on the ANTS 5 toolbar went down to 1 ('Profile Performance').

How do I re-enable it?

VS2008 with all latest service packs on WinXP with all latest service packs using ANTS 5.2.
Posts: 26
Joined: Thu Sep 25, 2008 12:36 am

disabled menu

Postby nick.maidment » Mon Feb 08, 2010 4:17 pm

Sorry to hear you're having problems. There are a couple of things you can check. If you go into the Tools menu then the add-in manager, You should see the ANTS add-ins, and the Startup check box should be checked. Is this the case?

Also with the ANTS 5 menu, some of the menu items will be disabled if there is no project loaded. Are you seeing greyed out options if the projects are open?

If you're still having problems here is a knowledge base article which you might be able to use to solve the problem:

http://www.red-gate.com/supportcenter/C ... spx?p=ANTS Performance Profiler&c=knowledgebase%5cANTS_Performance_Profiler%5cKB200905000388.htm

The article refers to version 4 so you'll need to update the assembly references with:

regasm /codebase "%programfiles%\\red gate\\ants performance profiler 5\\RedGate.Profiler.Five.AddIn.dll"
regasm /codebase "%programfiles%\\red gate\\ants memory profiler 5\\RedGate.Memory.AddIn.dll"

but a quick word of caution, this will reset all of your visual studio add ins.
Posts: 74
Joined: Fri Jan 29, 2010 1:55 pm

Postby rgelb » Mon Feb 08, 2010 7:55 pm

I tried it all, didn't work. I gave up and did the uninstall/reinstall. That fixed it.
Posts: 26
Joined: Thu Sep 25, 2008 12:36 am

Postby StephenC » Wed Feb 10, 2010 6:36 pm

For the benefit of others reading this post:

If you go to the ANTS Profiler directory in program files you will see a file called FixVS2k8 (there's also one for 2005).

Running the .bat file should resolve the issue.


Posts: 305
Joined: Mon Oct 15, 2007 9:18 am
Location: Cambridge

Postby Fidelis » Sun Oct 30, 2011 7:13 pm

Yes thank you StephenC, FixVS2k8.bat worked perfect! I made an account just to give you props for a solution I had long been looking for.
Posts: 1
Joined: Sun Oct 30, 2011 7:11 pm

Return to ANTS Performance Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests