Thursday, April 15, 2010 10:23 PM
If you are having problems as I was with the App_Data folder particularly will publishing content other than databases that are located in that special folder then here is the solution. Although, you may include any ordinary file as part of the project, visual studio does not copy it to the publish folder because it does not know what it is. I created a BinaryTap database – my key value store and saved it into the App_Data and executed a project published command and I noticed the database file itself wasn’t copied. After research here and there, it turns out you have to let Visual Studio know that “file A” needs to be part of the publishing package by indicating that its content. To do so, you bring up the properties window of that file and select “Content” as the “Build Action” and viola!
