MONO中文MONO平台技术MONO资讯 Basic question about using Mono

1  /  1  页   1 跳转 查看:921

Basic question about using Mono

Basic question about using Mono

I cannot find an answer on the Mono website for the question I am most
interested in. I suspect many others are also interested in this basic
question:-

If I install Mono on a PC running Linux can I then download programs that
run under Windows and simply run them under Linux/Mono?  (I have Ubuntu, in
case that matters).

You can do this with some programs using Wine, but not if the programs were
built using the .NET framework.

Thanks

===========================================================================

Hi,

> If I install Mono on a PC running Linux can I then download programs that
> run under Windows and simply run them under Linux/Mono?  (I have Ubuntu, in
> case that matters).

Yes and no.If it's built using the .NET framework (i.e. C# or VB) then it dependson the app. Some will, some won't. If it's not a .NET app, then Wine isyour friend.

TTFNPaul


==================================================================

If I install Mono on a PC running Linux can I then download programs that
> run under Windows and simply run them under Linux/Mono?  (I have Ubuntu, in
> case that matters).

Both Mono and .NET implement the CLR and the .NET framework(s);  so
*theoretically* a fully-managed-code application will run on both.  Then
the question is if the Mono framework implements all the the
functionality that the application requires.  As always, the devil
parties amidst the details.

> You can do this with some programs using Wine, but not if the programs were
> built using the .NET framework.

Wine is for running Win32 apps.  Mono is for .NET apps.
===================================================================

Hi,

> From: Adam Tauno Williams
>> You can do this with some programs using Wine, but not if the programs
>> were
>> built using the .NET framework.
>
> Wine is for running Win32 apps.  Mono is for .NET apps.

And if you want to use .NET apps that use Windows API or have mixed-mode
assemblies you can use the Windows version of Mono under Wine on Linux.

Kornél

============================================================================

Thanks for the various replies so far.

Running Windows Mono under Wine sounds rather convoluted - but, if it works
...

Assuming there is a Windows program that does not "need" Wine, how would one
download and run it under Mono on Linux?  Do I just download the Microsoft
.exe or .msi and just double-click it?

The answers that have been provided to my query seem like the sort of thing
that should be at the top of the FAQs.


============================================================================

On Fri, 2008-05-16 at 07:11 -0700, Robin2 wrote:
> Running Windows Mono under Wine sounds rather convoluted - but, if it works
> ...
>
> Assuming there is a Windows program that does not "need" Wine, how would one
> download and run it under Mono on Linux?  Do I just download the Microsoft
> .exe or .msi and just double-click it?
In an ideal world, they would provide either (1) a .zip file, or (2)a .exe which is a self-extracting ZIP (and thus can be unzipped with thenormal unzip program).If they do neither of these, you probably need to install the .exeor .msi under Wine before running the app under Mono...

- Jon
Sinoprise Network Studio
        ----专注.NET技术
 

回复: Basic question about using Mono

Thanks Jonathan,

I know the people responding to my question intend to be helpful. However
the various responses assume too much knowledge on my part. For example what
does it mean to "run the app under Mono... ". How do I do that?

Perhaps some person could give a step by step example that I could follow,
using a real Windows program that I could download?



And a note to the administrators of this website ...

The process of submitting replies and further questions is painfully slow.
For example I use the forum on YBW.COM and I can get an answer to a
technical question about boats in a few minutes.

============================================================================

Am 20.05.2008 um 19:06 schrieb Robin2:

> I know the people responding to my question intend to be helpful. 
> However
> the various responses assume too much knowledge on my part. For 
> example what
> does it mean to "run the app under Mono... ". How do I do that?
At a command prompt, enter "mono YourApp.exe", without the quotes,  assuming YourApp.exe is some application of yours in the current  directory.HTH,Andreas

===================================================================

And a note to the administrators of this website ...
> The process of submitting replies and further questions is painfully slow.
> For example I use the forum on YBW.COM and I can get an answer to a
> technical question about boats in a few minutes.

You can use the mono lists as forums via the web:
<http://go-mono.com/forums/>;

Of course the speed at which someone answers the question doesn't have
anything to do with list vs. forum, only how long until someone decides
to answer.
Sinoprise Network Studio
        ----专注.NET技术
 
1  /  1  页   1 跳转

版权所有 Sinoprise Network Studio   Sitemap

Powered by Discuz!NT 2.0.1214    Copyright © 2001-2009 Comsenz Inc.
Processed in 0.203125 second(s) , 4 queries. 京ICP备05062328号
返顶部