Reputation: 85
I have developed a console application in C#. I need to create an EXE file now. By copy and pasting that EXE file to another machines, it should work with the actual process what which i done in my machine. I have searched for it and mostly there was solutions for Win apps. I need to do it in my console app.
Steps i have done yet: 1. Created a console app. 2. Right clicked on Solution which is placed in solution explorer -> Add -> New project -> Other Project Types -> Visual Studio Installer -> Given name and chooses the location and Clicked "OK". 3. File System wizard been showing now.
From here I need your advice to add the assembly.
Upvotes: 6
Views: 24862
Reputation: 1217
There are 2 Ways to Do This... I just did this 20 Min Ago :)
Just a Side Note. Make Sure the Output Type Is of Console Type (Right Click on project... Output type...), Some windows applications give Problems when Publishing and Installing them
Upvotes: 10
Reputation: 15780
If your application doesn't require writing to registry, startup, etc. And just merely copy pasting the exe, you might just need a batch script for that.
Upvotes: 0