Click here to Skip to main content
15,911,360 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Experts ,

I have a Question For You, One Of My Client Want a Software From That he Can Build an EXE, For his Further Use, is there Any Possibility For this , can We make any Software For this , Need Guidance,,
Thanks

What I have tried:

This Is My First Step , I am Just Looking for help Right Now
Posted
Updated 18-Jul-16 21:21pm
Comments
Richard MacCutchan 19-Jul-16 3:32am    
Yes, it is possible but it all depends on what the client expects your app to do. If it is just to compile a file then the below solution should help. But if he wants a full function IDE then that would take years of work.

1 solution

Well, I assume you are willing to create a windows application which can Build your project/solution/.cs File and create an executable as output.

To achieve this, you can call below command lines from you windows application. Example:

csc /out:My.exe File.cs
devenv /build Debug Solution.sln


This command will build File.cs and create and executable output. In similar lines you can also create DLLs.

For more information/variety on csc.exe and msbuild commands, please refer to the below link and choose the one that suffice your requirement:
Command-line Building With csc.exe[^]
How to Compile C# Solution using command prompt ?[^]

Also, you can refer to
c# - Run Command Prompt Commands from C# Code- Stack Overflow[^]
 
Share this answer
 
v2
Comments
Aditya Chauhan 19-Jul-16 4:12am    
I think It Will Work For Me..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900