r/code • • Nov 28 '23

Help Please creating an .exe using code

how to compile a .exe file.

I have pictures, some code (in c# but can be other) and Id like to compile the code + pictures into a .exe file using code. how can I do this? code sample is welcome!

3 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/Connect-Wrap-9465 Nov 29 '23

no. you misunderstand the question. I do not want to compile my visual studio project into an executable. (project -> build)

I want my project to use c# code to compile an executable on runtime!