Current location - Training Enrollment Network - Books and materials - I made a book management system with C#+SQL. How to package a program into an installation file?
I made a book management system with C#+SQL. How to package a program into an installation file?
VS Create Add, add new projects to the original solution, and install projects of other project types.

Right-click the installation project to add the project output, click OK, and add the debug folder under the bin folder of the previously written program.

Or is it? The program in the Release folder, (this depends on whether you generate the program or not? Release the shortcut button to the right of this option and you can find it.

After clicking the EXE file, the system will automatically add the DLL file and EXE file needed by the program. If there are no other configuration files, right-click the installation project, build it, and then click the project folder. Debugging? Find an EXE installer and a program installation package under Release, and get a simple picture.