如何将Winform应用程序转换为exe格式? [英] how do i make an winform application into a exe format?

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

问题描述

有人可以帮助我吗?

我需要将Winform应用程序转换为可执行安装程序,

即将文件( .sln )转换为( .exe )安装程序格式.

我已经知道文件路径中有一个可执行文件,

.. \ Visual Studio 2010 \ Projects \ WindowsFormsApplication1 \ WindowsFormsApplication1 \ bin \ Release

但是无论如何,它是否可以使用户更轻松地使用 .exe 而无需在文件夹中浏览?

Can anyone help me?

I need to convert a winform application into a executable installer,

i.e a file(.sln) into a (.exe) installer format.

I already know that there is a executable in the file path,

..\Visual Studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release

But is there anyway to make it easier for users to use the .exe without having them to navigate around the folders???

推荐答案

嗯什么 ?

创建安装程序时,不发送给他们源代码,给他们发送exe,而是由安装程序创建运行它的快捷方式.
um... what ?

When you create an installer, you don''t send them source code, you send them exe, and the installer creates a shortcut to run it.


".. \ Visual"下的可执行文件Studio 2010 \ Projects \ WindowsFormsApplication1 \ WindowsFormsApplication1 \ bin \ Release"* IS *您的应用程序.这就是用户的全部需求!

解决方案(* .sln)文件由Visual Studio使用,它是对应用程序及其项目的一种描述.没有用户需要看到它.

如果您需要创建安装程序-有很多方法可以执行此操作,但是我建议您先阅读有关在VS下进行编程的信息...
The executable under "..\Visual Studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release" *IS* your application. That is all the user needs!

The solution (*.sln) file is used by Visual Studio and it is a sort of a description of your application and it''s projects. No user needs to see that.

If you need to create an installer - there are many ways to do that, but I would suggest reading about programming under VS first...


在Visual Studio 2010中,您可以创建安装程序和Deplayment"项目中.

在此项目中,您可以创建一个MSI文件,该文件将WindowsFormsApplication1安装在计算机上.
In Visual Studio 2010 you can create a "Setup and Deplayment" project in your solution.

In this project, you can create a MSI file that installs your WindowsFormsApplication1 on the computer.


这篇关于如何将Winform应用程序转换为exe格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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