发布MVC应用程序时如何包括自定义文件夹? [英] How to include custom folders when publishing a MVC application?
本文介绍了发布MVC应用程序时如何包括自定义文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个带有徽标的上载"文件夹.我希望VS2012一键发布以包括该文件夹.目前还不是.
I have an "Uploads" folder with logos within in. I would like the VS2012 one-click publish to include this folder. Currently it is not.
我该如何实现?
推荐答案
我相信您需要将文件夹的生成操作"设置为内容":
I believe you need to set the folder's "Build Action" to "Content":
什么是各种构建动作"Visual Studio项目属性中的设置,它们是做什么的?
这篇关于发布MVC应用程序时如何包括自定义文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文