开发者

VS 2008 Web Deployment - prevent folder from being deleted

I have an ASP.NET MVC 2 project that is built and then deployed using a web deployment project (Visual Studio 2008). The site has an uploads folder in the root of the site where user generated images are saved to. Whenever the build is run (using team city) the uploads folder is deleted meaning any previously uploaded images are deleted for good.

Is there anyway in the deploy开发者_开发技巧ment project that i can tell it not to delete this folder? Or will i have to copy it out prebuild and copy it back in afterbuild?

Any help is greatly appreciated

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜