Hi
Please let me know how to create exe file of c# code and what would be the system requirements to run that exe.
Regards
kritika
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rohit SharmaPosted Aug 21, 2013, 4:09 AM
Fist you open you project then go like that
go to File menu -> New-->Project-->then window will come.select Visual Studio Installer -->
select Setup Project-->give the Name of Setup-->select Solution=Add to solution---->Now click ok
Now you find a Three folder a) Application Folder b) User's Desktop c)User's Program menu
now double click on Application Folder --then you saw right side is black ---right click on panel -->Add-->clcik on project output--then windows come --click ok--
go to left side User's Desktop --right click on blank panel --Create New Shortcut --windows come go to Application Folder and select PRIMARY OUT PUT---and Rename it whats your software name ----->
Now you go to solution explorer --where you saw your setup file ---right click on that --go to properties ---click on Prerequisites--Add .net framwork,window installer as you required --now chose second radio button and click ok.--ok--
again right click on setup and build it.
now your exe file is ready
Iftikar HussainPosted Aug 21, 2013, 3:58 AM
You need to add Prerequisites for .NET framework while creating the setup. Please refer the below link
http://www.codeproject.com/Articles/35976/Add-Prerequisites-of-NET-Framework-in-Visual-Studi
Regards,
Iftikar
kritika RanaPosted Aug 21, 2013, 3:56 AM
After creating the setup file how to exe it on the another system.Because I only want the exe file to be run on the other system and also let me know what would the system requirement to run the setup
Thanks
Kritika
Sanjeeb LenkaPosted Aug 21, 2013, 3:40 AM
http://www.alltechmanuals.com/2013/06/How-to-create-setup-files.html
Kunal VaishyaPosted Aug 21, 2013, 3:38 AM
You can use MsVisualStudio for Create .exe file in C# at development machine and the client side just install MsVisualStudion frame work of that version to run that exe.
Regards,
Kunal