Click here to Skip to main content
15,891,895 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,...
I am working on a windows project. I made a set up file, but the database of my project is not attached to it. How can i add the database to the setup project in visual studio?
Posted

hi, add user application data folder in setup project then add your database file in it, the database file is bind into setup file on compiling setup project. when you install your setup, database file will extracted into user application folder. but ensure about the connection string of database.
** you can add database file in other folder, as you like.. have a nice day.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900