如何将Windows窗体应用程序从视觉工作室转换为exe? [英] How to convert a windows forms app from visual studios into a exe?

查看:111
本文介绍了如何将Windows窗体应用程序从视觉工作室转换为exe?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

视觉工作室的新手,不知道如何。



我尝试过:



我试着到处寻找,但无法弄明白。

New to visual studios and don't know how.

What I have tried:

I tried looking everywhere but can't figure it out.

推荐答案

查看菜单栏:选择Build菜单,你会得到一系列可能的选择。选择Build Solution(快捷键默认为F6),它将编译并构建一个可执行文件。



当你完全正常工作时,你可以通过查看菜单下方的工具栏,然后选择来构建一个发布版本(没有调试信息)。调试并将其更改为Release然后再次构建解决方案。



在调试模式下,F5键将构建项目并在调试器中运行它因此,您可以控制正在发生的事情并在运行时修复您的应用程序。 (GoogleVisual Studio调试器了解更多信息)。
Look at the menu bar: select the "Build" menu, and you get a range of possible options. Select "Build Solution" (the shortcut key defaults to F6) and it will compile and build you an executable.

When you have it fully working, you can build a release version (which doesn't have debug info) by looking at the toolbar below the menu, and selecting "Debug" and changing it to "Release" then building the solution again.

In "Debug" mode, the F5 key will build your project and run it in the debugger so you can control what is happening and fix your application while it runs. (Google "Visual Studio debugger" for more information).


这篇关于如何将Windows窗体应用程序从视觉工作室转换为exe?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆