Easy: how to create an exe of my app?

eramgarden

Contributor
Joined
Mar 8, 2004
Messages
579
This is my first WinForm app, using C#..

I want to create and "exe" and have have my manager run it on his machine..

I did "Build <appName>" from Build menu option in VS but I dont see an exe..

How can I do this..I dont want my manager to setup the whole app on his machine and open VS2003 and hit F5!
 
You need to read the tutorials on creating a Windows Setup Project. You add this type of project to you current solution, and fill in the blanks basically, and you will have a nice installer for your app.
 
If you've already run your app by pressing F5, the executable is in a folder under your solution - look in bin\debug (or bin\release). Good practice is to compile for release before you distribute.

You can create a setup project, which is nice and professional, but you don't have to. You can just copy over what's in the ...\release folder (your .exe and any .dll files you may be referencing) on to your manager's machine. He will have to have the .NET framework installed, of course.
 
Back
Top