Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create VS2010 Solution from Windows explorer context menu

Is there any way to add an item to the Windows Explorer context menu that will enable me to create a new vs2010 solution in the currently selected folder?

like image 625
Andrew Avatar asked Oct 06 '11 11:10

Andrew


People also ask

How do I add programs to the Explorer context menu?

Adding Applications to the Desktop Context MenuRight-click on the “shell” key, and then choose New > Key from the menu. Give the new key the name that you want to show up on the desktop context menu.

How do I add a solution to an existing project?

Add files to a solution To add an item to a solution, on the context (right-click) menu of the solution node in Solution Explorer, select Add > New Item, or Add > Existing Item. A solution file is a structure for organizing projects in Visual Studio.

How do I get the Solution Explorer code for Visual Studio?

Open Solution Explorer If you don't see the Solution Explorer tool window, you can open it from the Visual Studio menu bar by using View > Solution Explorer, or by pressing Ctrl+Alt+L.

Which menu is used to select the solution explorer option?

Use the View menu to turn the Solution Explorer on or off within the environment. Use the Tools > Options menu to navigate to the Projects and Solutions area to select the Always Show Solution option.


1 Answers

It doesn't look like this has been answered. Here is what I found that will do just as you ask:

http://www.peterprovost.org/blog/post/ShellNew-Extension-for-Visual-Studio-Solutions.aspx.
new url: http://www.peterprovost.org/blog/2005/10/25/ShellNew-Extension-for-Visual-Studio-Solutions/

I find it easier to create blank solutions using the right-click context menu because of the way I want to organize my file structure. Once I have a blank solution, I open it and add projects to it. This method gives me more control and is easier to manage.

EDIT: not finished...then browse to C:\Windows\ShellNew and create a new file named Visual Studio Solution.sln edit it with a text editor like this:

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Global
  GlobalSection(SolutionProperties) = preSolution
    HideSolutionNode = FALSE
  EndGlobalSection
EndGlobal
like image 87
KellySandwiches Avatar answered Sep 30 '22 11:09

KellySandwiches