I published my project with Visual Studio 2010 Ultimate SP1 and I have a bunch of files in ~/App_Data.
I don't remember if the first upload of appdata was with FTP or with WebDeploy. The problem is when I add new files to ~/App_Data and publish the site, those files (or folders under ~/App_Data) never get published.
My project web deployment settings has the "Exclude App_Data" UNCHECKED so it should be uploading it, yet it doesn't.
Anything else I should do?
This can happen if you don't have the "Build Action" set to "Content". This can be changed by looking at the properties of the files in question (right click "Properties" on the file).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With