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!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

And remember to name it.

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

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

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

And here let's paste it in the blanks.

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

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

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

Go to Icon => Browse.

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

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

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

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

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

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

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

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

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

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

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

+ Step 12: Proceed to Rebuild File Setup.

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

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

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

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 !!!

Update 31 March 2021
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile