I am testing publishing a program with Visual studio 2012, but when I install said program I get errors because a database file I need is missing.
I have a small sqlite file I have included as content and I have set it to copy to output directory. and everything works if I am debugging it. but when i publish the file isn't there anymore.
I guess the problem has two answers I can see, I either need to figure out how to have the file be put there when it is installed or on startup of the program look for the file and if it doesn't exist, copy it to there from a resource?
any clues would be appreciated!
thanks!