Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compilation

Status
Not open for further replies.

kokliushas

Technical User
Dec 25, 2004
4
LT
Hello,
i would be thankful if someone would say me how to compile a lot of files and to get one *.exe file in c#.
 
Maybe it is possible to write any *.bat file to compile or smth else?
 
If you start an empty project in visual studio, add all the files to it, and build it with the release option other than debug, you should only get one .exe file.
Although this only works if the files are really related and you have only one main() function. If it doesn't work you should explain your problem with more detail.
 
You can use Visual Studio, or use a .bat file to call the CSC.EXE command line compiler.

Be aware that any executable you create will need the .NET runtime.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top