+ 1
Export C# (to exe)
How can I export my C# program in Visual Studio (2017) (as exe if possible)?
8 Respuestas
+ 5
That is correct.
There a 2 modes you can build an application in.
Debug
and
Release
So far you only have been working in debug mode.
So only the "Debug"-folder exist.
Change the build mode to "Release" and Visual Studio will create a release folder for you.
The exe in the debug mode is fully functional and you can copy this one as well to other places.
The exe in the debug mode more information to the outside world, so it is better to distribute a release mode exe.
Also in debug mode you can use the compiler directive
#if DEBUG
and of course in release mode you can use
#if RELEASE
https://www.youtube.com/watch?v=6CCTnMgRixM
https://www.youtube.com/watch?v=pl2rIuP2J7Q
+ 3
You should already have it. Check bin/release folder.
+ 3
You need to build your program in release mode then you'll have the release folder. But what kind of project is that?
+ 2
Well done, your english is understandable!! Keep coding, keep asking.
+ 1
I just have in bin the Debug folder.
+ 1
I just have dll file and other.
+ 1
(I can't speek english so well)
+ 1
I know now what i did wrong. Thanks for your help!