Home > Net >  Vb.net CS project packing problem
Vb.net CS project packing problem

Time:11-09

I now have a project to CS packaged into client or exe program and database is how to deal with, I want to ask what I use is SQL server, database can be packaged in together? Still need to connect the database backup, wrote in the configuration file, I don't want to let this project in VS and the use of SQL server environment, or install when prompted to install the corresponding components, how to implement this need, beg god to help solve, best can detail

CodePudding user response:

Packaging as long as the packaged application itself is ok, don't get too complex, have a instructions is not good,

Have a readme. TXT file, write down the necessary condition is installed. The.net framework version, and what SQL server version,

1. No vs environment:
You can put the.net framework you pack the setup file in a compressed file for distribution,

2. No SQL server environment:
You can't wrap up with SQL server, if it is SQL server compact edition, it can and. Net framework in the same compressed file,
If you must use the standard or enterprise edition, it can be put together with the database file in a compressed file, it is ok to write instructions,
Some applications are also built the database scripts alone on a file, open the application for the first time, prompt database connection, and then it is ok to put the database scripts,

CodePudding user response:

SQL server is a commercial software, packaging and distribution of illegal, but you can use the SQL server localdb
  • Related