发布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":