Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create Solution Folder in Visual Studio Express 2013

I noticed that when you open a solution in VS 2013 Express which contains solution folders, they load properly and the solutions builds properly. Unlike the express versions of Visual Studio 2010 which showed error messages when the solution loaded.

Here's a screenshot of the AvalonDock solution which is open in Visual Studio 2013 Express: enter image description here

Since Visual Studio 2013 Express can clearly use solution folders, my question is: How do you (if you can at all) create one?

Whether it is a straightforward way from inside Visual Studio or a "hacky" way (for example) of manipulating the .sln file.

like image 445
Liam Flaherty Avatar asked Nov 13 '13 09:11

Liam Flaherty


People also ask

How do I create a VS solution folder?

To create a folder within the solution, right-click the solution name in the Solution Explorer pane and choose "Add", then "New Solution Folder" from the context-sensitive menu.

How do I add folders to project solution in Visual Studio?

Adding FilesRight click the project or contained folder and choose Add | Existing Item... . Use Show All Files . Click on files or folders you would like to add to the project and choose Include In Project . Drag and drop files and folders from Windows Explorer.

How do I create a solution file in Visual Studio 2013 for an existing project?

From the Visual Studio menu choose "File | New | Project..." Solutions" and create a blank solution. point it to your web site to add it to your new solution.


1 Answers

To create a new solution folder in VS2013 Express... Open your solution file in a text editor. Add the Project line to the top of the file. If you want to add more than one then you'll have to invent some new GUIDs. Open in VS2013, you can now rename, drag/drop projects into it etc.

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "New Folder", "New Folder", "   {765E7B51-3482-4523-AE2F-6299401EDD0B}"
EndProject
.
.
.
like image 161
Island Playa Avatar answered Nov 08 '22 23:11

Island Playa