7

我被困在这个tutorial上,用于创建多项目视觉演播室模板。我专门被困在这条线:创建视觉演播室解决方案模板 - 多个项目

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.

我做了如下步骤:

  1. 创建2个项目。 (MyProj.Web和MyProj.Service)
  2. 在MyProj.Web中引用MyProj.Service。
  3. 同时导出。他们现在在.zip文件中。

我从这里做什么?

我的意图是:制作解决方案文件夹,其中包含一些dll(DI,单元测试框架等)。有这些DLL引用。其他项目的参考项目。重命名部分项目。例如。替换{MyProj}.Service的能力NewName.Service

+2

@Adron:你有没有想过写这篇文章? – 2013-03-19 15:14:18

回答

2

其他部分包括制作.vstemplate xml文件并将压缩文件放置在ProjectTemplates中。

每文章:

把.zip文件的模板文件在Visual Studio项目模板 目录。默认情况下,该目录是\我的文档\ Visual Studio的 2010 \模板\ ProjectTemplates \

Visual Studio的模板,然后将可从File>New Project。如果为单个项目制作模板,请将其放在\ ItemTemplates文件夹中,以使其可在解决方案资源管理器中的Add New Item上下文菜单中使用。

相关问题