从 Windows 资源管理器上下文菜单创建 VS2010 解决方案 [英] Create VS2010 Solution from Windows explorer context menu

查看:42
本文介绍了从 Windows 资源管理器上下文菜单创建 VS2010 解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以向 Windows 资源管理器上下文菜单中添加一个项目,使我能够在当前选定的文件夹中创建一个新的 vs2010 解决方案?

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?

推荐答案

这个问题似乎没有得到解答.这是我发现可以按照您的要求执行的操作:

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.
新网址: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.

未完成...然后浏览到 C:\Windows\ShellNew 并创建一个名为 Visual Studio Solution.sln 的新文件,使用这样的文本编辑器编辑它:

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

这篇关于从 Windows 资源管理器上下文菜单创建 VS2010 解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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