Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,
 
I've created a Windows Forms Application in Visual Studio 2008, .NET 3.5.
Now I want to finalize my project, i.e. to create a single .exe file which I can give to someone and he will be able to run it on his computer.
 
In my project files I found bin/Debug directory where I see a .exe file.
Can I just use this file as is, or I am missing some important finalizing procedure ?
 
Thanks !
Posted 22-Jan-10 23:53pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

If you're talking about merging dll files and exe files into one executable, google "ilmerge", and you'll be off and running/. It can also merge app.config files.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

So long as you have not used any external dll files or added a .config file to your project then yes you can just use the exe file.
However if you change the build type in VS from debug to release you should get a slightly smaller file which does not have any debug information in it, but it's up to you which one you send out.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

If you are connecting to a database, you will need to provide a connection to the database when the other user runs your exe.
  Permalink  

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

  Print Answers RSS
0 DamithSL 365
1 Maciej Los 232
2 OriginalGriff 213
3 BillWoodruff 79
4 Jose Garcia Sevilla 75
0 OriginalGriff 7,953
1 DamithSL 6,139
2 Sergey Alexandrovich Kryukov 5,454
3 Maciej Los 5,293
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 23 Jan 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100