如何使用我创建的 Visual Studio 2010 项目模板

2024-04-21

我跟着MSDN 上的步骤 http://msdn.microsoft.com/en-us/library/xkh1wxd8.aspx用于创建模板。我在VS2010中创建了一个新项目,然后使用文件->导出模板...创建我的模板的选项。我浏览了向导,一切似乎都有意义。我保留了默认的输出位置(它是:

...Documents\Visual Studio 2010\我导出的模板\MyProject.zip)

我离开了自动将模板导入 Visual Studio检查过。我可以看到导出的 zip 文件(并且我尝试将副本移至:

文档\Visual Studio 2010\模板\ProjectTemplates\Visual C#

文件夹。但是当我启动 VS2010 的新实例并使用文件->新建项目我没有看到我的模板。我还期待着除了最近的模板/已安装的模板/在线模板我可能会得到一个新类别用户模板。如果失败的话,我认为它可能位于“已安装的模板”下,但那里没有什么新内容。我的模板应该出现在哪里?我是不是漏掉了一步?


Duh, It was working I just didn't know where to look. I would bring up the new project template and search through all the leaf nodes. Turns out I had to click on the Visual C# root in the tree view (it appears to not be in any of the leafs). This always trips me up in tree views, I never expect the root to have options, let alone be the only place that has an option. enter image description here

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何使用我创建的 Visual Studio 2010 项目模板 的相关文章

随机推荐