且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何创建独立应用程序

更新时间:2022-10-15 07:56:37

使用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&GT;写道:
使用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