如何编译完成的C#项目,比的Visual Studio之外运行? [英] How to compile the finished C# project and than run outside Visual Studio?
本文介绍了如何编译完成的C#项目,比的Visual Studio之外运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚完成设计一个简单的代码程序。我把它叫做一个划拳。该项目是迄今为止做工精细,我想打开它,而无需打开我的Microsoft Visual Studio中。
I just finished designing a simple code program. I called it a "Guessing Game". The program is so far working fine and I would like to open it without opening my Microsoft Visual Studio.
我怎么能这样做?
推荐答案
最简单的方法是
- 找到下拉框在Visual Studio的窗口的顶部,上面写着调试
- 选择发布
- 按
F6
来构建它 - 切换回调试,然后关闭Visual Studio中
- 开启Windows资源管理器,然后定位到您的项目文件夹(我的工作室Documents\Visual 200x\Projects\my_project)
- 现在,去bin\Release\并从那里复制的可执行文件,无论你想储存。
- 请快捷方式酌情享受您的新游戏! :)
- Find the dropdown box at the top of Visual Studio's window that says "Debug"
- Select "Release"
- Hit
F6
to build it - Switch back to Debug and then close Visual Studio
- Open Windows Explorer and navigate to your projects folder (My Documents\Visual Studio 200x\Projects\my_project)
- Now go to bin\Release\ and copy the executable from there to wherever you want to store it.
- Make shortcuts as appropriate and enjoy your new game! :)
这篇关于如何编译完成的C#项目,比的Visual Studio之外运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文