简体   繁体   中英

How to create C# desktop application setup file along with database

I created a C# application for my client with a database so I created a setup file which runs fine on my PC, but on my client's PC, it shows this error error msg

错误信息

I need to submit it to my client but it's showing this error; I think I am having problems with my connection string or during setup creation.

Can anyone here help me out?

Thanks in advance

When creating the setup file.. you need to include the database files .mdf files in the setup. this video explains it well

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM