Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all articles
Browse latest Browse all 663

Avoid deleting App_Data folder when publishing?

$
0
0

Hi

 

I am using Visual Studio 2012 and WebDeploy 3.0 to deploy my MVC 4 web app to my Windows Server 2008 R2. I have set the option to "Remove additional files at destination", but want to keep the App_Data folder and all its content intact, since this is where the database and all other user content is stored. At the same time, I want the application files to be "cleaned up" when I make changes to the application, so the option to "Remove additional files at destination" should apply to everything except the App_Data folder

 

How do I achieve this?

 

Thanks in advance!


Viewing all articles
Browse latest Browse all 663

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>