Publishing C# console application

谁说胖子不能爱 提交于 2019-12-03 11:12:29

You can publish it. Go to your solution explorer. Right click on it. publish the application. After finishing the publishing wizard, you can get the set up file in publish folder. or you can simply copy the exe file directly from the Bin folder and paste it wherever you want. Hope this is helpful.

Follow the Steps

1) Firslty build the code 2) Then go to your projects folder 3) Open Debug/Bin 4) Inside Bin you can see the exe file. That file you can copy on any work station and run your console application.

Please do remember be confirm in which .NET version ur program is compiled. If suppose you compiled your program in .NET version 3.5 and running your program in .NET version 2 . It will not work

Thanks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!