部署C#(.NET 2.0)的应用程序作为一个便携式的应用程序? [英] Deploying C# (.NET 2.0) application as a portable application?

查看:94
本文介绍了部署C#(.NET 2.0)的应用程序作为一个便携式的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能部署.NET 2.0的应用程序作为一个可移植的执行? 所以,我的程序可以运行在一个闪存盘没有安装在目标机器上的.NET Framework 2.0。或者,也许是有可能与必要的.NET的DLL分发我的程序,所以没有框架的安装是必要的吗?

Is it possible to deploy a .NET 2.0 application as a portable executable? So that my program can be ran in a Flash Disk without the .NET Framework 2.0 installed in the target machine. Or maybe is it possible to distribute my program with the required .NET DLLs, so that no framework installation is necessary?

我知道有一些替代工具把我的.NET的exe到像RemoteSoft蝾螈,异种code Postbuild,并Thinstall一个本地可执行,但不幸的是我无法承受的。

I know that there are some alternative tools to turn my .NET exe into a single native executable like RemoteSoft Salamander, Xenocode Postbuild, and Thinstall, but unfortunately I can't afford one.

我也试图与嵌入单声道的mkbundle的依赖,但它搞砸我的计划了= \(没有XP的视觉风格,打破了一些控制和它的功能)

I also tried to embed the dependencies with Mono's mkbundle, but it messed my program up =\ (no XP visual style, broke some controls and its functionality)

任何形式的帮助将是AP preciated:)

Any kind of help would be appreciated :)

感谢。

FYI:我的IDE是微软的Visual C#2008例preSS与.NET框架2.0版作为目标框架

fyi: my IDE is Microsoft Visual C# 2008 Express Edition with .NET Framework 2.0 as the target framework.

推荐答案

嗯,不是像火蜥蜴和Thinstall(现在的VMWare的ThinApp)等,你就必须有安装.NET,如果你真的想运行的.NET。

Well, other than things like Salamander and Thinstall (now VMWare ThinApp) you would have to have .NET installed if you really want to run .NET.

它的可以的可以运行而不实际安装它(而不是静态链接你的程序,但包括单声道闪存驱动器上)。我怀疑这将是棘手的,虽然,因为你必须要告诉这样的事情在GAC位置运行。

It may be possible to run Mono without actually installing it (not statically linking your program, but including Mono on the flash drive). I suspect it would be tricky though, as you'd have to tell the runtime about things like the GAC location.

我看不到在单FAQ这事,但你可能想ping一个单声道邮件列表 - 这听起来像一个潜在的有趣和有用的东西才能做到

I can't see anything in the Mono FAQ about this, but you might want to ping a Mono mailing list - it sounds like a potentially interesting and useful thing to be able to do.

这篇关于部署C#(.NET 2.0)的应用程序作为一个便携式的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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