How to compile a software through a website?

0

I'm making a website where the person can create software through it. But my question is: How to do this in an automated way?

The proposal would be to have the software done in WPF and the code be customized from a lot of switch-case and if-else and then it would be compiled on the server and the client could download the executable.

  • Is there any way to get my site to compile a C# code?

  • What technologies should I use?

The back-end is being done with the , but this can be changed as needed.

    
asked by anonymous 12.09.2017 / 02:41

1 answer

0

The part of drawing the forms and etc, would have to be converted from a structure to WPF and etc, now the part that I believe will require the backend server to have the VS compiler installed, or else that it communicate with a Windows server

Assuming that the server that uses PHP, then could use exec();

exec('msbuild project.sln', $ouput);

print_r($ouput);
    
12.09.2017 / 07:33