The Artima Developer Community
Sponsored Link

C# Answers Forum
Create *.exe file in C#

3 replies on 1 page. Most recent reply: Dec 19, 2002 4:21 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
Timo Zurek

Posts: 3
Nickname: timozurek
Registered: Dec, 2002

Create *.exe file in C# Posted: Dec 18, 2002 3:33 AM
Reply to this message Reply
Advertisement
Hallo, I`ve got a problem with my C#-Code.

I wish i could transform my code into an *.exe file.

Is there a possebility to fulfill my wish?

Please answer soon.

Yours Timo


Matt Gerrans

Posts: 1152
Nickname: matt
Registered: Feb, 2002

Re: Create *.exe file in C# Posted: Dec 18, 2002 4:00 PM
Reply to this message Reply
Compiling it will do that.

Or are you trying to create an exe that will run without the CLR?

Timo Zurek

Posts: 3
Nickname: timozurek
Registered: Dec, 2002

Re: Create *.exe file in C# Posted: Dec 19, 2002 1:37 AM
Reply to this message Reply
Exactly.

I want to create an Exe File that i can use without having the C# development Software installed.

If the Compiler creates with every compiling exe files, where are they stored?

Best regards. TIMO

Matt Gerrans

Posts: 1152
Nickname: matt
Registered: Feb, 2002

Re: Create *.exe file in C# Posted: Dec 19, 2002 4:21 PM
Reply to this message Reply
This should be easy:
Create your C# program and compile it.
Create a C/C++ self-extracting archive program (there are third party tools such as Abbrevia which can facilitate this), which contains the CLR installer (.Net runtime) and your program. When this program runs, it unpacks and installs the .Net runtime, then unpacks and runs your C# program.
Your program will probably be about 16 MB larger as a result and a bit slow on the first run.

Flat View: This topic has 3 replies on 1 page
Topic: Unable to Uninstall VS.Net Beta 2 Previous Topic   Next Topic Topic: Seriell Communication in C#


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us