使用工具或扩展创建 Visual Studio 初始解决方案

发布于 2024-09-26 01:03:00 字数 53 浏览 0 评论 0原文

我发现自己在所有新项目中一遍又一遍地重复相同的结构。有没有可以用来创建自己的初始模板的工具?

I found myself repeat on the same structure over and over again in all new projects. Is there a tool that I can use to create my own initial template?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深海蓝天 2024-10-03 01:03:00

您可以设置基础项目并将其导出为项目模板(文件 -> 导出模板)。

这篇文章是一个很好的信息来源,逐步完成将项目模板打包到 VSIX 文件中以供分发的过程。

有一个扩展(导出模板向导),您可以从在线库中获取它,它提供了比标准导出模板更多的选项,并且不像手动创建 VSIX 那样复杂。您可以阅读有关 这里,里面也讲了模板参数替换。

You can setup your base project and export it as a project template (File -> Export Template).

This article is a good source of information and walks through the process of packaging up your project template in a VSIX file for distribution.

There is an extension (the Export Template Wizard) that you can get from the Online Gallery that provides a few more options than the standard Export Template, and is not as involved as creating the VSIX manually. You can read about that here, which also talks about template parameter substitution.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文