Pregunta

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.

¿Fue útil?

Solución

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
.
.
.

Otros consejos

Select Solution and press Ctrl+Shift+A. Then create text file. Text file will be placed at new folder "Solution Files", Then delete text file and rename folder. =)

Alternatively, the Visual Studio Express 2013 Web fully supports this. If you don't want to mess around with the solution file, you can open the solution using the Web version and add the folder from there.

enter image description here

I don't know why the Web version supports it but not the Desktop

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top