+ 1

Export C# (to exe)

How can I export my C# program in Visual Studio (2017) (as exe if possible)?

6th Jun 2019, 1:21 PM
JanJakCode
JanJakCode - avatar
8 ответов
+ 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
6th Jun 2019, 10:18 PM
sneeze
sneeze - avatar
+ 3
You should already have it. Check bin/release folder.
6th Jun 2019, 7:38 PM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 3
You need to build your program in release mode then you'll have the release folder. But what kind of project is that?
6th Jun 2019, 7:49 PM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 2
Well done, your english is understandable!! Keep coding, keep asking.
7th Jun 2019, 12:51 PM
sneeze
sneeze - avatar
+ 1
I just have in bin the Debug folder.
6th Jun 2019, 7:41 PM
JanJakCode
JanJakCode - avatar
+ 1
I just have dll file and other.
7th Jun 2019, 4:50 AM
JanJakCode
JanJakCode - avatar
+ 1
(I can't speek english so well)
7th Jun 2019, 4:51 AM
JanJakCode
JanJakCode - avatar
+ 1
I know now what i did wrong. Thanks for your help!
7th Jun 2019, 12:48 PM
JanJakCode
JanJakCode - avatar