使项目到便携式应用程序? [英] make project to portable application ?

查看:79
本文介绍了使项目到便携式应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

- 我想让我的项目形成便携式应用程序。我该怎么办?

- 我想运行我的便携式应用程序并将创建文件夹在哪里包含我的应用程序

我该怎么办?

拜托,帮助我!!

谢谢

问候

Hi everybody!
- I want to make my project form portable application.How do I do ?
- And I want to run my portable application and will create folder in where contain my application
How do I do?
please, help me!!
thanks
regards

推荐答案

你不需要做什么特别的事。您可以将您的应用程序.EXE及其所需的任何.DLL复制到您想要的任何地方(包括USB驱动器),并且它将从那里运行,提供2个条件是满意的:



1)运行此功能的计算机必须已安装.NET 2.0,3.0或3.5。否则,您必须为您的应用程序安装.NET Framework甚至启动。



2)您的代码不依赖于尚未安装的COM注册组件系统。否则,您必须在应用程序运行之前安装这些。
There''s nothing special you have to do. You can copy your application .EXE and any .DLL''s it needs to anywhere you want (including a USB drive) and it''ll run from there, PROVIDED 2 CONDITIONS ARE SATISFIED:

1) The machine you run this on must already have .NET 2.0, 3.0, or 3.5 installed. Otherwise, you MUST install the .NET Framework for your app to even launch.

2) Your code does NOT depend on COM-registered components that are not already installed on the system. Otherwise, you will have to install these before your app can run.


您可以制作Forms应用程序,然后在Mono上开发和测试它:

http://en.wikipedia.org/wiki/Mono_%28software%29 [ ^ ],

http://www.mono-project.com/ [ ^ ]。



我建议在Windows上开始开发并在Mono for Windows上进行测试。您需要严格按照标准进行编程。即使 System.Window.Forms 不是标准化库,它也可以很好地移植到Mono。如果你通过Mono for Window测试,很可能,它会在Linux,Max OS X,iOS上运行得相当好(Apple平台对外国人最不利),BSD和其他平台。



祝你好运,

-SA
You can make your Forms application and you develop and test it on Mono:
http://en.wikipedia.org/wiki/Mono_%28software%29[^],
http://www.mono-project.com/[^].

I would advise to start development on Windows and test it on Mono for Windows. You will need to keep your programming strictly in standards. Even though System.Window.Forms is not a standardized library, it is ported to Mono reasonably well. If you pass Mono for Window tests, most likely, it will work reasonably well on Linux, Max OS X, iOS (Apple platforms are most hostile to "foreigners" though), BSD and other platforms.

Good luck,
—SA


这篇关于使项目到便携式应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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