How to pack Project code into EXE file with MS Visual Studio

Instructions on how to pack the code into an EXE file with Microsoft Visual Studio software. Package the Project code into an executable * .exe file

Hello everyone, today I will share with you a knowledge that in my opinion is quite interesting, and I think with this knowledge will help many of you here.

If you are a person studying information technology or IT (Information Technology), then surely you will not be familiar with terms like Code or Project, then C #, Java, . then right are not.

And in the process of going to school every day, you also had to do a lot of homework or projects. Maybe you have created many good applications, programs, perfect features and run on the integrated development environment of MICROSOFR VISUAL STUDIO very smoothly .

But have you ever wondered how to package the Project code that you have made into a software so that a lot of people who are not tech-savvy can use it right away?

Or, after you have done your homework or project and left it there and no one can use it, although the program you do may be of help to a lot of others. It is a waste, isn't it?

Ok, so today I will show you how to package the code into a * .exe file with the simplest and fastest MICROSOFR VISUAL STUDIO. Let's start.

Instructions for packing Project code into .EXE executable file

+ Step 1: You need to download and download Setup Projects package. You access here!

How to pack Project code into EXE file with MS Visual Studio Picture 1How to pack Project code into EXE file with MS Visual Studio Picture 1

+ Step 2: Open your Project, right-click and select Solution => Add => New Project.

How to pack Project code into EXE file with MS Visual Studio Picture 3How to pack Project code into EXE file with MS Visual Studio Picture 3

+ Step 3: Click on Visual Studio Installer => Setup Project. Then name and choose a save location for the file Exe later.

How to pack Project code into EXE file with MS Visual Studio Picture 5How to pack Project code into EXE file with MS Visual Studio Picture 5

It is best to create a Setup folder in your Project as shown below.

How to pack Project code into EXE file with MS Visual Studio Picture 7How to pack Project code into EXE file with MS Visual Studio Picture 7

+ Step 4: Once created, an interface will appear as shown below.

How to pack Project code into EXE file with MS Visual Studio Picture 9How to pack Project code into EXE file with MS Visual Studio Picture 9

Now right-click on Application Folder => Add => Project Outout.

How to pack Project code into EXE file with MS Visual Studio Picture 11How to pack Project code into EXE file with MS Visual Studio Picture 11

+ Step 5: Select your Project name then click Primary ouput and click OK.

How to pack Project code into EXE file with MS Visual Studio Picture 13How to pack Project code into EXE file with MS Visual Studio Picture 13

+ Step 6: Continue, right-click the newly created Primary output and choose Create Shortcut to Primary output .

How to pack Project code into EXE file with MS Visual Studio Picture 15How to pack Project code into EXE file with MS Visual Studio Picture 15

And remember to name it.

How to pack Project code into EXE file with MS Visual Studio Picture 17How to pack Project code into EXE file with MS Visual Studio Picture 17

+ Step 7: Next, move the newly created Shortcut in the Application Folder folder to the User's Desktop folder.

How to pack Project code into EXE file with MS Visual Studio Picture 19How to pack Project code into EXE file with MS Visual Studio Picture 19

And here let's paste it in the blanks.

How to pack Project code into EXE file with MS Visual Studio Picture 21How to pack Project code into EXE file with MS Visual Studio Picture 21

+ Step 8: This step is to set icon for File Exe. Right-click on Shortcut => select Properties Window.

How to pack Project code into EXE file with MS Visual Studio Picture 23How to pack Project code into EXE file with MS Visual Studio Picture 23

Go to Icon => Browse.

How to pack Project code into EXE file with MS Visual Studio Picture 25How to pack Project code into EXE file with MS Visual Studio Picture 25

Click on the folder Application Folder => Add File. Then choose the appropriate icon for your File Exe.

How to pack Project code into EXE file with MS Visual Studio Picture 27How to pack Project code into EXE file with MS Visual Studio Picture 27

+ Step 9: Click on the User's Programs Menu folder. Right-click on a space to the right and choose Create New Shortcut.

How to pack Project code into EXE file with MS Visual Studio Picture 29How to pack Project code into EXE file with MS Visual Studio Picture 29

Go to the folder Application Folder => Primary output… => OK.

How to pack Project code into EXE file with MS Visual Studio Picture 31How to pack Project code into EXE file with MS Visual Studio Picture 31

+ Step 10: Likewise, set the icon for the Shortcut as above.

How to pack Project code into EXE file with MS Visual Studio Picture 33How to pack Project code into EXE file with MS Visual Studio Picture 33

+ Step 11: Go to Properties => Author to edit the name of the author and Manufacturer to adjust the name of the manufacturer.

How to pack Project code into EXE file with MS Visual Studio Picture 35How to pack Project code into EXE file with MS Visual Studio Picture 35

+ Step 12: Proceed to Rebuild File Setup.

How to pack Project code into EXE file with MS Visual Studio Picture 37How to pack Project code into EXE file with MS Visual Studio Picture 37

And this is the result. You have finished packing your program into an installation file. Very simple is not it?

How to pack Project code into EXE file with MS Visual Studio Picture 39How to pack Project code into EXE file with MS Visual Studio Picture 39

Ok, so I have finished showing you how to package the code into an EXE file using Microsoft Visual Studio 2017 software.

Thank you for watching. Wish you will build many good programs and applications that are used by many people.

Hopefully this article will be useful to you. Good luck !!!

4.2 ★ | 31 Vote