943,564 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 4590
  • C# RSS
Nov 6th, 2007
0

What to make an EXE file which i can run on diff. systems

Expand Post »
I want to create an application and want to DEPLOY it (to make an EXE file), so that i can write it to a CD , and when i copy the EXE file to another system and click on that file, i should be able to run that application.....................how can i do that?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
suman@sdsu is offline Offline
3 posts
since Oct 2007
Nov 6th, 2007
0

Re: What to make an EXE file which i can run on diff. systems

Want**
Reputation Points: 10
Solved Threads: 0
Newbie Poster
suman@sdsu is offline Offline
3 posts
since Oct 2007
Nov 6th, 2007
0

Re: What to make an EXE file which i can run on diff. systems

If you dont use visual studio, download a free copy of Visual C# Express from Microsoft.

Create a project for your application in Visual Studio and code it.

Build the project (F6 is the shortcut I think) inside visual studio.

Browse to the project directory (usually My Documents\Visual Studio [releaseyear]\Projects\ApplicationProjectName\ApplicationProjectName)

Open the bin Folder, and then the release folder. An exe should be there.


**just some notes:

The target computer will need the .NET framework installed (I would recommend version 3 for good compatibility). There is no workaround (for brevity's sake, and to not confuse you).

Visual C# Express includes a publish tool for clickonce deployments. I don't like it but you can try it out and see if it is suitable for you. You can access it though the menu (Project >> Publish)

Hope this helps.
Featured Poster
Reputation Points: 975
Solved Threads: 140
Posting Virtuoso
scru is offline Offline
1,624 posts
since Feb 2007
Nov 13th, 2007
0

Re: What to make an EXE file which i can run on diff. systems

You can compile any program into binaries but those binaries have requirements most of the time. Such as for C# it requires the host machine have the .NET Framework (at least version used to compile).

Like the previous poster said, click once is also available and i use it at work and personally love it. It requires the host machine have no knowledge what so ever of anything .NET Framework related as click-once can package those requirements in the install.
Reputation Points: 11
Solved Threads: 17
Junior Poster
mariocatch is offline Offline
103 posts
since Apr 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Books
Next Thread in C# Forum Timeline: how to deploy a project ?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC