Web Deployment App_Data

Topics: ASP.NET 2.0
Aug 21, 2007 at 12:51 AM
Does anyone know how to deploy the web without overwriting App_Data?
Aug 21, 2007 at 4:03 AM
Are you using a web deployment project? If you are one of the properties pages of the deployment project has a checkbox to remove the App_Data folder from your compiled project. That way when you upload it to your site it isn't there to overwrite your data. You will have to keep an eye on any changes to the stuff in that folder though and merge any structural stuff into your current data.
Aug 21, 2007 at 4:36 AM
No I am not. I am using Publish Web Site.
Aug 21, 2007 at 9:46 PM
Hi Raminloo.

Check this: http://bloggingabout.net/blogs/egiardina/archive/2007/05/15/excluding-items-from-visual-studio-2005-publish.aspx