What Was I Thinking?

Follies & Foils of .NET Development
posts - 87 , comments - 254 , trackbacks - 0

CoolCommands in Visual Studio 2008

After installing VS2008, I quickly noticed the absence of some of my favorite IDE helpers.

  • How do I copy project references between projects?
  • How do I locate the current document in the solution explorer, without turning on that annoying "track active" option

No problem.. I'll just reinstall CoolCommands, or as I like to call it "Commands That Microsoft Should Have included, but didn't" 

For the uninitiated, learn about coolcommands here -->http://weblogs.asp.net/GMilano/archive/2006/02/27/439208.aspx

so first of all, I had a heck of a time finding a version available for download.  Luckily I know some one who's much better an googling than I... CoolCommands download is available here --> http://download.deklarit.com/files/gmilano/coolcommands40.zip. I've mirrored the setup.zip on my site as well

There is an issue with the install.bat however.  This version was meant to install into vs2005.  To install coolcommands for VS2008, modify the setup bat file. Replace the line that begins regpkg    with this

regpkg CoolCommands.dll /root:Software\Microsoft\VisualStudio\9.0 /codebase

run the setup and start up vs2008 and off you go.

I'm back in CoolCommand splendor.

Print | posted on Wednesday, December 12, 2007 9:13 AM | Filed Under [ Visual Studio ]

Feedback

Gravatar

# re: CoolCommands in Visual Studio 2008

Great post! It was a pain living without CoolCommands.
1/3/2008 3:51 PM | Rob
Gravatar

# re: CoolCommands in Visual Studio 2008

Perfect! A great relief
1/8/2008 9:29 AM | Morten
Gravatar

# re: CoolCommands in Visual Studio 2008

You just saved the day! Thanks a lot.
1/24/2008 3:00 PM | Jan Van Ryswyck
Gravatar

# re: CoolCommands in Visual Studio 2008

Rock on!!! I've been looking for that fix for quite sometime now. This week I was already considering using the DXCore and write my own plugins to do that. Glad to know I won't have to spend any time on that. :)
2/12/2008 3:57 PM | Claudio Lassala
Gravatar

# re: CoolCommands in Visual Studio 2008

Thanks for the tip!
5/4/2008 11:43 AM | Gadgets on Iron Man
Gravatar

# re: CoolCommands in Visual Studio 2008

Right on! Thanks!
5/8/2008 12:33 AM | HTC Touch Diamond Review
Gravatar

# re: CoolCommands in Visual Studio 2008

There is an 'official' version of CoolCommands for Visual Studio 2008. Now it's named Power Command for Visual Studio 2008.

Link: http://www.vsgallery.com/ExtensionDetails.aspx?ExtensionID=df3f0c30-3d37-4e06-9ef8-3bff3508be31
5/13/2008 1:31 AM | Dmitry Pavlov
Gravatar

# re: CoolCommands in Visual Studio 2008

Power Command is similar to Cool Commands but is not a true updated port. For example, Power Command is missing the "Locate in Solution Explorer" command, something I can't live without.
5/13/2008 7:56 AM | wtfChrisD
Gravatar

# re: CoolCommands in Visual Studio 2008

Great tool - also for SharePoint developer. Just added it to sharepoint-tools.de:
http://www.sharepoint-tools.de/ShowTool/33/PowerCommands_for_Visual_Studio_2008.html
6/6/2008 10:30 AM | Oliver
Gravatar

# re: CoolCommands in Visual Studio 2008

Thank you for the tool....
Can I install CoolCommand for vs2005 and vs2008 on same machine?
Thanks for the response
6/25/2008 10:44 AM | marco
Gravatar

# re: CoolCommands in Visual Studio 2008

Yes you can run the tool in side-by-side installations of VS 2005, and VS 2008.. You just need to run the setup twice; once using the out-of-the-box, unmodified setup.bat, and then modify the setup.bat as outlined above and re-run it.
6/26/2008 12:10 PM | wtfChris
Gravatar

# re: CoolCommands in Visual Studio 2008

Well done, now it work on both version of Visual Studio.
Thank you very much !!
7/3/2008 3:44 AM | marco
Gravatar

# re: CoolCommands in Visual Studio 2008

Hi, can anyone tell me how to modify the setup.bat when my path contains blanks? Using quotes like /root:"Program Files/Microsoft Visual Studio 9.0" does not work.
7/31/2008 5:08 AM | glia
Gravatar

# re: CoolCommands in Visual Studio 2008

glia, unzip into your C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
folder and you shouldn't have any path problems.

2/9/2009 6:27 PM | El
Gravatar

# re: CoolCommands in Visual Studio 2008

You could always use the 8.3 notation of your path
for example

"progra~1/Microsof~3"

to get 8.3 notation, drop to a command prompt
at the command prompt, type: dir /x <location>
it will show you the 8.3 notation for your folders.
2/9/2009 7:53 PM | wtfChris
Gravatar

# re: CoolCommands in Visual Studio 2008

It didn't work for me unfortunatelly. I've modified the bat file, run it successfully (no errors), but then when I open any solution in Visual Studio I don't have "Locate in solution explorer" option in drop-down menu. Which is the most important feature for me. Have you run into such problem? Was able to fix that?
4/9/2009 4:04 AM | Piotr
Gravatar

# re: CoolCommands in Visual Studio 2008

You are a life saver! Thanks!!!
4/17/2009 1:19 PM | Andrés Gonzales
Gravatar

# re: CoolCommands in Visual Studio 2008

It did not work for me as well for first time. This is what I did to fix-

Run the setup.bat file from visual studio 2008 command prompt with Admin rights.

It worked like magic then. :)
6/13/2009 12:42 PM | Suneet Nangia
Gravatar

# re: CoolCommands in Visual Studio 2008

It didn't work for me the first time, so I did what Suneet suggested and it worked like a charm.

I know this may sound silly but don't forget to close any VS instances you may have open. :)

And yes, back to CoolCommand splendor.
9/21/2009 11:04 AM | Jose Gonzalez
Gravatar

# re: CoolCommands in Visual Studio 2008

To install the CoolCommands on the Visual Studio 2008 SP1 update 9.0 to 10.0:

regpkg CoolCommands.dll /root:Software\Microsoft\VisualStudio\10.0 /codebase
10/22/2009 1:38 PM | Alexander Schmidt
Gravatar

# re: CoolCommands in Visual Studio 2008

thanks for command. i was used macros for some command but performance was't good. now its all ok.
11/9/2009 9:28 AM | Fatih Murutoğlu
Gravatar

# re: CoolCommands in Visual Studio 2008

For me, VS 2008 SP1 still required the 9.0 setting, not the 10.0.
11/11/2009 8:15 AM | MattJ
Gravatar

# re: CoolCommands in Visual Studio 2008

Coolcommands for VS 2010 was released including new commands.
3/23/2010 10:25 PM | gmilano
Gravatar

# re: CoolCommands in Visual Studio 2008

thanks for the commands
9/30/2011 10:44 AM | E
Post A Comment
Title:
Name:
Email:
Comment:
Verification:
 
 

Powered by: