在Visual Studio Express 2013中创建解决方案文件夹 [英] Create Solution Folder in Visual Studio Express 2013

查看:170
本文介绍了在Visual Studio Express 2013中创建解决方案文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到,当您在VS 2013 Express中打开包含解决方案文件夹的解决方案时,它们会正确加载并且解决方案会正确构建.与Visual Studio 2010的快速版本不同,Visual Studio 2010的快速版本在加载解决方案时会显示错误消息.

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.

以下是AvalonDock解决方案的屏幕截图,该解决方案已在Visual Studio 2013 Express中打开:

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

由于Visual Studio 2013 Express可以清楚地使用解决方案文件夹,所以我的问题是:如何(如果可以的话)创建一个?

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

这是从Visual Studio内部直接实现的方法,还是(例如)操纵.sln文件的"hacky"方法.

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

推荐答案

要在VS2013 Express中创建新的解决方案文件夹... 在文本编辑器中打开您的解决方案文件.将项目行添加到文件的顶部.如果要添加多个,则必须发明一些新的GUID. 在VS2013中打开,您现在可以重命名,将项目拖放到其中,等等.

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

这篇关于在Visual Studio Express 2013中创建解决方案文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆