Generate EXE File from C# Project in Visual Studio 2019

preview_player
Показать описание
Generate EXE from C# Project in Visual Studio 2019
An EXE file contains an executable program for Windows. EXE is short for "executable," and it is the standard file extension used by Windows programs. For many Windows users, EXE files are synonymous with Windows programs, making ".exe" one of the most recognizable file extensions.
By deploying an application, service, or component, you distribute it for installation on other computers, devices, or servers, or in the cloud. You choose the appropriate method in Visual Studio for the type of deployment that you need. (Many app types support other deployment tools, such as command-line deployment or NuGet, that aren't described here.
You can use the Publish Wizard to set the basic settings for publishing your application. This includes the following publishing properties:
Publishing Folder Location - where Visual Studio will copy the files (local computer, network file share, FTP server, or Web site)
Installation Folder Location - where end users will install from (network file share, FTP server, Web site, CD/DVD)
Online or Offline availability - if end users can access the application with or without a network connection
Рекомендации по теме
Комментарии
Автор

You're amazing mate. That's something I had been looking for. Very useful.

muhammedozen
Автор

Can I take only setup file and move to some other location to run my program or do I have to move it with all the other files?

deeeew
Автор

short and easy, very useful
Thank you!

ahmadswailemChannel
Автор

You have very helpful tutorials. I'm now trying to build a huge project on an .exe I wrote, but I simply don´t find the way, I compiled already as Debug, Release, and looked in every single folder for the .exe. I tried also publishing it, but I got this message "The command is not applicable for the selected project." and then the publish option disappears. I’m not sure if there is some extension, I haven´t installed yet. I have already run as admin, and installed "MS VS Installer Projects". I tried on VS2017 is enterprise ed. and on VS2019 is community. My program is written in C++ and C, and also tried with a dummy program (std::cout << "Hello World!\n"). Do you have any clue whats going wrong? Thanks! Chuck.

carlosde
Автор

Two questions: How can I sign the file EXE with a certificate? Can I create a certificate or I must buy it?

sciutogreg
Автор

Nice video mate very helpfull. BTW what is that sound at 5:55 ? it sounds like you just headed the mic? What is that? Thank for the video and the answer.

danielolah
Автор

it doesn't run with Launcher.exe!!! why?

Mohamed-Alii
Автор

it says "Severity Code Description Project File Line Suppression State
Error ClickOnce does not support the request execution level 'requireAdministrator'."(Cuz i want it to requireAdmin) what now?

Gorkid
Автор

Is it possible to debug when the Solution Configuration is set to Release (platform is 32-bit x86)?

Trying to step thru the code when in the Release config, but it goes straight to running the exe, stepping and breakpoints are ignored?!

bennguyen
Автор

Superb.
Great work .
Keep it up...🙏🙏🙏🙏

supunsatheendre
Автор

explained exactly what i tried to get an answer on, vere very niceee

DreamLuckStudios
Автор

Why is it that when I click on Publish, I get a completely different menu ? I get a "Publish Wizard" with much less settings as to what you have in the video.

pug.
Автор

Now I can publish my TicTacToe :))). Thanks!

mjivonsp
Автор

When I click publish the only option I get is a location in a folder. Nothing more. Completely different from what it is presented

thanasisathanasi
Автор

This doesn't work for me. Following your steps and then publishing seems to do absolutely nothing. Despite the terminal stating "Publish Success", the folder is completely empty.

Andimax
Автор

Hello, i have a problem with my vs2019. My publish wizard tab is different. it doesn't have clickonce and other options. It's a white page like the old versions. How do i fix this ?! i tried reinstalling it, but to no avail have any idea what should I do?!

Grafiyas
Автор

amazing video, but i have a problem, when i tried setup.exe, it installed application, but i have some other sound file and pictures in debug, but it won't load, iam doing it in VS222 in c# in WinForms

pavelpaja
Автор

Will you be putting this up as something I can watch later? (Please) :-)

Miisile
Автор

hey i can't locate the solution explorer in my visual studio is there an option to turn it on?

SquidSnipes
Автор

How create exc file with db sql .net core project .. I need your help

SajidAli-keue