How to pack Project code into EXE file with MS Visual Studio
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!
+ Step 2: Open your Project, right-click and select Solution => Add => New Project.
+ Step 3: Click on Visual Studio Installer => Setup Project. Then name and choose a save location for the file Exe later.
It is best to create a Setup folder in your Project as shown below.
+ Step 4: Once created, an interface will appear as shown below.
Now right-click on Application Folder => Add => Project Outout.
+ Step 5: Select your Project name then click Primary ouput and click OK.
+ Step 6: Continue, right-click the newly created Primary output and choose Create Shortcut to Primary output .
And remember to name it.
+ Step 7: Next, move the newly created Shortcut in the Application Folder folder to the User's Desktop folder.
And here let's paste it in the blanks.
+ Step 8: This step is to set icon for File Exe. Right-click on Shortcut => select Properties Window.
Go to Icon => Browse.
Click on the folder Application Folder => Add File. Then choose the appropriate icon for your File Exe.
+ Step 9: Click on the User's Programs Menu folder. Right-click on a space to the right and choose Create New Shortcut.
Go to the folder Application Folder => Primary output… => OK.
+ Step 10: Likewise, set the icon for the Shortcut as above.
+ Step 11: Go to Properties => Author to edit the name of the author and Manufacturer to adjust the name of the manufacturer.
+ Step 12: Proceed to Rebuild File Setup.
And this is the result. You have finished packing your program into an installation file. Very simple is not it?
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 !!!
You should read it
- 9 extension Visual Studio Code for easier programming
- Visual Studio Code review: Microsoft's cross-platform code editor
- 10 tips for Microsoft's cross-platform code editing tool - Visual Studio Code
- How to install Visual Studio Code on Windows 10
- How to Install Visual Studio Code on Ubuntu 20.04
- Visual Studio Code now has an extremely useful color picker
- How to Install Visual Studio Using Parallels Desktop on a Mac
- Write code in a browser with Microsoft Visual Studio Online
- Visual Studio Community - Download Visual Studio Community here.
- Microsoft announced the launch of Visual Studio 2019
- How to Install Visual Studio Code on Arch Linux
- Microsoft launches Visual Studio 2022
Maybe you are interested
5 steps and 1 'hot' morning habit to help you have smooth, bright skin
How does your phone track your every step?
Basic steps to build self-confidence in children
4 Security Steps to Follow When Using Remote Access Applications
7 steps to take when your phone is stolen
8 steps to fix sound loss problem in Windows