0
Good morning, I made an application in C# recently but it’s still only in code form and I needed to create an executable ! But I’ve never done it, I don’t know how. Can anyone help ? Thank you !
0
Good morning, I made an application in C# recently but it’s still only in code form and I needed to create an executable ! But I’ve never done it, I don’t know how. Can anyone help ? Thank you !
3
Click build -> Publish
A screen will appear for you to configure how the installation will be done on the client’s PC, configure it in the way that suits you and publish it. A Setup, a Manifest and a folder named Application files will be created where you configured the output. On the client’s PC you just run the installation way you set up and your program will be installed automatically.
If you only need the executable, you can also get it in the visualStudio20XX -> Projects -> -> -> bin -> release folder, but when running it it will not be installed
1
Compile your project in visual studio:
BUILD > BUILD SOLUTION or Hotkey, F6
Executable will be generated in folder:
[Folder of your project] bin Debug
Browser other questions tagged c# visual-studio-2015 .exe
You are not signed in. Login or sign up in order to post.
You mean compile from the command line? Something like
csc.exe nomedoarquivo.cs
– Anthony Accioly
To be honest I don’t know, I’m not sure. I created this application on stage and now asked me to create and an executable of my application to test
– D C
Well, to get effective help, it’s important that the community understands and can reproduce its problem. It’s the best way to get an answer that helps you. Compile a file
.cs
per command line is different from building a project in Visual Studio for example. I would build an example representing what you are trying to do and edit the question. The more relevant details the better. Take a look at How to create a Minimum, Complete and Verifiable example.– Anthony Accioly
It’s as simple as: I have my project in visual studio 2015, a code written in C# and want to create an executable for it. Just this
– D C
If so, just click "Compile Solution" in the Visual Studio menu. Read the MSDN documentation: Creating and cleaning projects and solutions in Visual Studio. If you selected the correct type of project an executable will be created.
– Anthony Accioly