如何在项目模板中部署其他文件 [英] How do I deploy additional files as part of a Project Template

查看:67
本文介绍了如何在项目模板中部署其他文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2012创建Web项目模板,我需要与Web项目一起部署其他文件。看来,无论MyTemplate.vstemplate文件中的内容如何,​​都只部署了Web项目csproj中包含的文件。这些文件位于zip文件中。当使用模板时,他们永远不会进入最终项目。

I am creating a Web Project Template using Visual Studio 2012 and I need additional files to be deployed along with the Web Project. It appears that regardless of what is in the MyTemplate.vstemplate file, only files that are included in the Web Project csproj get deployed. The files are in the zip file. They just never make it to the final project when the template is used.

推荐答案

这篇关于如何在项目模板中部署其他文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆