建立我的.exe可以在任何地方运行吗? [英] building my .exe can it run anywhere?

查看:137
本文介绍了建立我的.exe可以在任何地方运行吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我构建了一个简单的.exe文件。


n exe将查看文件,读取该文件并将内容

放入电子邮件中。如果我从Bin \Release

文件夹中获取我生成的.exe并将其复制到一台机器上它会工作还是我需要确保

我是否安装了dot net以及所有这些?


构建.exe的最佳方法是什么,以便我可以在大多数

机器上运行它而不需要任何更新?


谢谢。

Say I build a simple .exe file.

n exe that will look at a file, read that file and put the contents
into an email. If I take the .exe that I built from the Bin\Release
folder and copy it to a machine will it work or do I need to make sure
that I have dot net installed and all of this ?

What is the best way to build an .exe so that I can run it on most
machines without any updates?

thanks.

推荐答案

2008-05-21,Jason< pa ** ***@excite.comwrote:
On 2008-05-21, Jason <pa*****@excite.comwrote:

假设我构建了一个简单的.exe文件。


n exe将会看到一个文件,读取该文件并将内容

放入电子邮件中。如果我从Bin \Release

文件夹中获取我生成的.exe并将其复制到一台机器上它会工作还是我需要确保

我是否安装了dot net以及所有这些?


构建.exe的最佳方法是什么,以便我可以在大多数

机器上运行它而不需要任何更新?


谢谢。
Say I build a simple .exe file.

n exe that will look at a file, read that file and put the contents
into an email. If I take the .exe that I built from the Bin\Release
folder and copy it to a machine will it work or do I need to make sure
that I have dot net installed and all of this ?

What is the best way to build an .exe so that I can run it on most
machines without any updates?

thanks.



如果你使用VB.NET - 那么你需要安装框架。还有

工具可以让你摆脱这个要求,但是从来没有使用过任何一个 - 我不能做任何推荐。


如果你想要一个基本的类似语言的窗户没有外部的

依赖,那么也许你可能会考虑类似PowerBasic的东西

http://www.powerbasic.com)


-

Tom Shelton

If you use VB.NET - then you need the framework installed. There are
tools that will let you get away from this requirement, but having never
used any of them - I can''t make any recomendations.

If you want a basic like language for windows with not external
dependencies, then maybe you might consider something like PowerBasic
(http://www.powerbasic.com).

--
Tom Shelton


Jason,


肯定不会在PS3,在MS-Dos上其他古老的微软操作系统

系统。


然而,从这个里程碑开始的一个完整的最新Windows操作系统它将运行

(过去的第一个千年不是Windows千禧年)。


(只要你没有其他依赖作为第三方控制等)。


Cor


" Jason" < pa ***** @ excite.comschreef在bericht

新闻:e5 ************************* ********* @ b64g2000 hsa.googlegroups.com ...
Jason,

It will for sure not run on a PS3, on MS-Dos other ancient Microsoft OS
system.

However on a complete up to date Windows OS from this milenium it will run
(what is not Windows millenium as that is from the past first millenium).

(As long as you don''t have other dependies as 3th party controls etc).

Cor

"Jason" <pa*****@excite.comschreef in bericht
news:e5**********************************@b64g2000 hsa.googlegroups.com...

假设我构建了一个简单的.exe文件。


n exe将查看文件,读取该文件并将内容

放入电子邮件中。如果我从Bin \Release

文件夹中获取我生成的.exe并将其复制到一台机器上它会工作还是我需要确保

我是否安装了dot net以及所有这些?


构建.exe的最佳方法是什么,以便我可以在大多数

机器上运行它而不需要任何更新?


谢谢。
Say I build a simple .exe file.

n exe that will look at a file, read that file and put the contents
into an email. If I take the .exe that I built from the Bin\Release
folder and copy it to a machine will it work or do I need to make sure
that I have dot net installed and all of this ?

What is the best way to build an .exe so that I can run it on most
machines without any updates?

thanks.




通常你会建立一个安装程序来检查所需的

版本。在安装

应用程序(.exe文件)之前安装了Net框架。


如果您只想复制并运行单个.exe文件而不使用<安装了
..Net框架,你可以使用应用程序虚拟化,

虽然准备接受.exe文件的大小是

去要小得多。


请看一下如何在这里完成的截屏演示(使用

Paint .Net作为示例应用程序):
http://www.thinstall.com/demos/dnet20/


如果你想将你的应用程序分发为*小*,自包含

..exe文件,你最好的选择是切换到类似于

C ++并避免依赖任何无法链接的东西

静态。


问候,


Joergen Bech


周三,21日2008年5月14:34:02 -0700(PDT),Jason< pa ***** @ excite.com>

写道:

Normally you would build an installer that checked if the required
version of the .Net framework was installed before installing the
application (.exe file).

If you want to just copy and run a single .exe file without the
..Net framework installed, you can use application virtualization,
though be prepared to accept that the size of the .exe file is
going to be significantly larger.

See a screencast demo of how it can be done here (using
Paint .Net as a sample application):
http://www.thinstall.com/demos/dnet20/

If you want to distribute your app as a *small*, self-contained
..exe file, however, your best bet is to switch to something like
C++ and avoid dependencies on anything you cannot link
statically.

Regards,

Joergen Bech

On Wed, 21 May 2008 14:34:02 -0700 (PDT), Jason <pa*****@excite.com>
wrote:

>假设我构建了一个简单的.exe文件。

n exe将查看文件,读取该文件并将内容放入电子邮件中。如果我从Bin \Release
文件夹中获取我生成的.exe并将其复制到计算机上它是否可行或者我需要确保我已经安装了点网并且所有这些?

构建.exe的最佳方法是什么,这样我就可以在没有任何更新的情况下在大多数机器上运行它?

谢谢。
>Say I build a simple .exe file.

n exe that will look at a file, read that file and put the contents
into an email. If I take the .exe that I built from the Bin\Release
folder and copy it to a machine will it work or do I need to make sure
that I have dot net installed and all of this ?

What is the best way to build an .exe so that I can run it on most
machines without any updates?

thanks.


这篇关于建立我的.exe可以在任何地方运行吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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