如何在 Visual Studio 2010 中将新项目添加到“将新项目添加到项目”上下文菜单中?

Ign*_*cia 6 .net c# visual-studio-2010

如何将我自己的模板添加到 Visual Studio 2010“添加”上下文菜单中显示的元素列表中?

在此输入图像描述

谢谢。

Bha*_*iya 3

您可以在 Visual Studio 2010 中按以下方式进行操作:

1.Right click on the Tool menu and click "Customize..".
2.Click the "Commands" tab.
3.Click the "Context menu" option.
4.Select the "Project and Solution Context Menus | Solution".
5.Click the "Add Command..." button.
6.Select "File" in the "Categories" list box.
7.Select "Close Solution" in the "Commands" list box.
8.Move up/down as desired.
9.Click "Close".
Run Code Online (Sandbox Code Playgroud)