[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getting winehq's wine-mono to work



On Sat, Oct 27, 2018 at 6:22 PM Alexandre Viau <aviau@debian.org> wrote:
>
> Hello,
>
> Before further work on packaging wine-mono, I wanted to get winehq's
> wine-mono build to work.

Great!

> Does one of you have happen to know an example of a program that does
> not work using Debian's wine but works when installing the wine-mono
> .msi at:
>  - https://dl.winehq.org/wine/wine-mono/ ?

For testing, using a C# hello world is easy:
austin@debian-desktop:~/debian-mono$ cat hello.cs
// A Hello World! program in C#.
using System;
namespace HelloWorld
{
    class Hello
    {
        static void Main()
        {
            Console.WriteLine("Hello World!");
        }
    }
}

# Compile it (needs mono-mcs package):
$ mcs hello.cs

# Then run it. Without mono:
austin@debian-desktop:~/debian-mono$ wine-development hello.exe
0009:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed

# With mono:
$ msiexec /i ~/.cache/wine/wine-mono-4.7.1.msi
...
$ austin@debian-desktop:~/debian-mono$ wine-development hello.exe
Hello World!

I do know that there are some mono apps that works, but I don't have a
list handy. Keep in mind though that if the app is moderately complex,
it likely will run into a mono limitation.

> I have been trying to find an example for a while now, without success.
> Most installers that I have tried do not detect dotnet as already
> installed and claim it is missing.

Yeah, it's missing a lot of functionality compared to native..

> Also, I notice that C:\\windows\mono exists in prefixes by default, even
> when wine-mono is not installed. That is expected?

I don't think so. I just tried in a self compiled wine upstream, then
I cancelled the gecko/mono installs. There's no C:\windows\mono.

-- 
-Austin
GPG: 267B CC1F 053F 0749 (expires 2021/02/18)


Reply to: