[英]Create a Visual Studio 2010 Solution with multiple projects from a text editor
[英]Create visual studio solution template - multiple projects
我坚持使用本教程创建一个多项目的可视化工作室模板。 我特意坚持这一行:
Select the files and folders to include in your template, right-click the selection, click Send To, and then click Compressed (zipped) Folder. The files and folders are compressed into a .zip file.
我做了以下步骤:
.zip
文件中。 我该怎么办?
我的意图是:制作解决方案文件夹,其中包括一些dll(DI,单元测试框架等)。 有这些dlls参考。 其他项目中的参考项目。 重命名部分项目。 例如。 能够用NewName.Service
替换{MyProj}.Service
其他部分包括制作.vstemplate xml文件并将zip放在ProjectTemplates中。
根据文章:
将.zip模板文件放在Visual Studio项目模板目录中。 默认情况下,此目录是\\ My Documents \\ Visual Studio 2010 \\ Templates \\ ProjectTemplates \\
然后,可以从“ File
>“ New Project
获取Visual Studio模板。 如果为单个项目创建模板,请将其放在\\ ItemTemplates文件夹中,而不是从“解决方案资源管理器”中的“ Add New Item
上下文菜单中使其可用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.