How to create exe file from my program

Please help me quickly !Thanks .


Answer this question

How to create exe file from my program

  • Jules23

    I make a software and i want my software can create a exe file.Using c#.Thanks

  • Kursat Konak

    Hi,

    Use CodeDom Apis for that, [I assume that you are using existing cs code files or you are inputting code in c# from your application and then creating exe]

    Compile code using csc with the command line arguments to create and exe

    HTH,



  • CalinMac

    Create from what Source code in some language Do you want to create a compiler



  • Mongsreturn

    OK, but what should the EXE do

    Perhaps CodeDom could be useful to you



  • ssmorgan

    I am not sure what you mean, but try the following!
    Whenever you compile your code an exe is created in the
    Project Name\Project Name\bin\Debug\ directory....
    For example if your project was called test1 and you have saved it in C:\, the you should check the directory
    C:\test1\test1\bin\Debug\ for the .exe file

    kirchu


  • How to create exe file from my program