Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我发现自己在所有新项目中一遍又一遍地重复相同的结构。有没有可以用来创建自己的初始模板的工具?
您可以设置基础项目并将其导出为项目模板(文件 -> 导出模板)。
本文是一个很好的信息来源,并介绍了将项目模板打包到 VSIX 文件中以进行分发的过程。
您可以从在线库中获得一个扩展(导出模板向导),它提供了比标准导出模板更多的选项,并且不像手动创建 VSIX 那样复杂。您可以在此处阅读有关内容,其中还讨论了模板参数替换。