如何创建独立应用程序 [英] How do I make a Standalone Application

查看:76
本文介绍了如何创建独立应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望用C#开发的应用程序可以在需要.NET框架的客户端计算机的任何计算机上使用_without_

。我已经构建了一个示例

应用程序,我希望能够快速向人们展示。我将使用我的应用程序在ThumbDrive中插入

,然后执行我的应用程序。我不希望
想要强迫人们安装框架并重新启动,如果他们这样做了。

没有安装.NET框架。


这可能吗?怎么样?


谢谢,


Richard Arthur

解决方案

< blockquote>使用C#是不可能的。您将不得不使用C ++来构建一个不依赖于.NET Framework的

应用程序。


HTH,


" Richard Arthur" < RB *** @ cs.byu.edu>在消息中写道

news:eZ ************** @ TK2MSFTNGP11.phx.gbl ...

我想开发一个应用程序在C#中用于任何计算机_without_
需要.NET框架的客户端计算机。我已经构建了一个样本
应用程序,我希望能够快速向人们展示。我将使用我的应用程序在ThumbDrive中插入
,然后执行我的应用程序。 I
不想强迫人们安装Framework并重新启动,如果他们
没有安装.NET框架。

这可能吗?以及如何?

谢谢,

Richard Arthur



Richard Arthur< rb***@cs.byu.edu>写道:

我希望用C#开发的应用程序可以在任何计算机上使用_without_
需要.NET框架的客户端计算机。




你运气不好。它不会发生 - 至少,不是在

时刻。


-

Jon Skeet - < sk *** @ pobox.com>
http:// www .pobox.com / ~subet /

如果回复小组,请不要给我发邮件


Bill Priess<否***** @ nospam.com>写道:

使用C#是不可能的。您将不得不使用C ++来构建一个不依赖.NET Framework的应用程序。




或Java,或Delphi,或C ,或Perl,或Python等 - 除了C ++之外,还有很多不需要.NET的语言。


-

Jon Skeet - < sk *** @ pobox.com>
http://www.pobox.com/~skeet/

如果回复小组,请不要给我发邮件


I want an application developed in C# to be used on any computer _without_
the client computer needing the .NET framework. I have build a sample
application that I want to be able to quickly show to people. I will plug
in a ThumbDrive with my app on it, and then execute my application. I don''t
want to have to force people to install the Framework and reboot if they do
not have the .NET framework installed.

Is this possible? and how?

Thanks,

Richard Arthur

解决方案

This is not possible using C#. You will have to use C++ in order to build an
app that does not rely on the .NET Framework.

HTH,

Bill P.

"Richard Arthur" <rb***@cs.byu.edu> wrote in message
news:eZ**************@TK2MSFTNGP11.phx.gbl...

I want an application developed in C# to be used on any computer _without_
the client computer needing the .NET framework. I have build a sample
application that I want to be able to quickly show to people. I will plug
in a ThumbDrive with my app on it, and then execute my application. I don''t want to have to force people to install the Framework and reboot if they do not have the .NET framework installed.

Is this possible? and how?

Thanks,

Richard Arthur



Richard Arthur <rb***@cs.byu.edu> wrote:

I want an application developed in C# to be used on any computer _without_
the client computer needing the .NET framework.



You''re out of luck. It''s not going to happen - at least, not at the
moment.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too


Bill Priess <no*****@nospam.com> wrote:

This is not possible using C#. You will have to use C++ in order to build an
app that does not rely on the .NET Framework.



Or Java, or Delphi, or C, or Perl, or Python, etc - there are plenty of
languages other than C++ which don''t require .NET :)

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too


这篇关于如何创建独立应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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