Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can I not create a blank solution without creating a directory?

Is it just me or does anyone else find it annoying in Visual Studio when you go to create a new blank solution, Visual Studio greys out the "Create directory for solution" option meaning you are always forced to create a new directory?

I'm aware of the workarounds, but this still seems a fundamentally missing feature. Does anyone know if this is fixed in VS 2010?

like image 687
RichardOD Avatar asked Sep 10 '09 15:09

RichardOD


People also ask

Should you place project and solution in the same directory?

Creating a Solution NET will create a new solution with the same name as the project, placing the solution files in the same directory as the project. Although this works fine for small projects, it isn't well suited to more complex applications.

How do I add a solution to an existing project?

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 create a solution folder?

Create Solution FoldersRight-click on the solution → Add → New Solution Folder (or with the solution selected, click the Project menu → Add New Solution Folder):


1 Answers

It's a pesky thing, true. There is a workaround you may find useful: http://flux88.com/blog/right-click-new-visual-studio-solution/ http://benscheirman.com/2009/03/right-click-new-visual-studio-solution

It sets things up so that you can right-click an open folder in Explorer and choose new->visual studio solution. I appreciate the shortcut when creating new projects, largely for experimentation, so I want to get moving quickly.

like image 125
Grant Palin Avatar answered Oct 22 '22 00:10

Grant Palin