views:

251

answers:

1

My web project has an app_data folder with subfolders. When I deploy my project from visual studio2008 (r-click, deploy, include app_data ticked) it only copies files from the app_data root, not it's subdirs.

Is there a way to fix this?

A: 

In one your subfolders that are not deploying, right click on each file and check it's properties: Build Action and Copy to Output Directory. Verify that the build action is set to "Content" and the Copy to Output Directory is set to "Copy Always" (or Copy if Newer). A quick way of changing all file properties is to highlight them all and then right click to properties which will change all their values at one time.

I'll preface this answer with: I'm assuming a web deployment project is similar to a click once deployment which what I'm basing my answer on :)

Metro Smurf
Ah yes, forgot about that. Had checked for properties on the folder itself, but there are none. It's on file level..
borisCallens