views:

1010

answers:

4

As in the title. Is it possible? When I rightclick on Visual Studio in a Taskbar I have a "Recent" category there i have but 1 .cs file that I can pin.

Now the question is: what to do to pin a .sln solution there?

+4  A: 

If you pin the VSLauncher.exe to the taskbar (drag it in) you will get recent projects and solutions on the right click menu.

You can find this exe in your program files / common files directory. Mine is in

C:\Program Files\Common Files\Microsoft Shared\MSENV\VSLauncher.exe

You can also do this by dragging a solution into the task bar (which does the same as the above). If you do this rightclicking it will show recent projects and solutions.

Hope this helps.

Steve Psaltis
This one works if I use the pinned solutions, but if I just click on the icon - it shows me a message box complaining about missing file:The following files were specified on the command line:[empty space - nothing in it]These files could not be found and will not be loaded.
Mikeon
+1  A: 

The VSLauncher.exe needs a solution or project path to do anything usefull. In the right click of the taskbar item you can right click the microsoft version selector and click properties. There you will then be able to give it a path by editing the target field. This will stop you getting the error.

This is all based on adding one solution to the task bar as per your question. I did not find a way of adding more than one!

Hope this helps.

Steve Psaltis
note that my question is "How to pin Visual Studio Solutions" <- plural :-)
Mikeon
+6  A: 

I posted a workaround here http://einsteintech.spaces.live.com/Blog/cns!89E05724AF67A39E!744.entry?wa=wsignin1.0&amp;sa=632924437

Josh Einstein
You rock!___________________
Mikeon
A: 

This is for Visual C++ 2008 Express Edition. You may adapt for other editions.

reg add HKCR\.sln\OpenWithProgids /v VCExpress.dsw.9.0

karyonix