Home

How to get past Download .NET window w/ LINQPad 7 on Linux and WINE

I'm trying to run LINQPad 7 on Linux using WINE and it gets stuck showing the Download .NET window over and over. That window detects that .NET is installed, but clicking Launch LINQPad (x64) just opens another Download .NET window over top of the first one. It seems like I'm so close, if there were some override to just start LINQPad I could deal with whatever works/doesn't work from there. Has anyone gotten it further than this?

@JoeAlbahari is there a workaround to force loading beyond the Download .NET window? I've used LINQPad since the dawn of time, but at this point it's one of the few things I still boot Windows for.

The result of clicking Launch LINQPad 2 times:

Comments

  • Is there anything in %localappdata%\LINQPad\logs.LINQPad7\startup.txt?

    Also note that you may run into other issues - last time I checked, LINQPad didn't work well over WINE.

  • Ah, thank you Mr. Albahari for helping me get over that first issue. I don't expect further support for this unsupported platform.

    The startup.txt log showed it checking a Linux path for the .NET install:

    2023-05-18 09:28:24 PromptForFxInstall: Directory '/usr/share/dotnet\shared\Microsoft.WindowsDesktop.App' does not exist.
    Target DLL: C:\Program Files\LINQPad7\LINQPad.GUI.dll
    DOTNET_ROOT environment variable detected: /usr/share/dotnet
    

    I set DOTNET_ROOT in my Wine config to C:\Program Files\dotnet, and it now fails to start with another error:

    The hostfxr.dll file does exist.The startup log (below) doesn't say much more about the cause.

    I have not yet investigated further.

  • This indicates that the LoadLibraryW function is failing. I don't think it's worth spending time on this because even if you manage to get LINQPad to launch under WINE, it's likely to crash after a few minutes of use. Also, a lot of features just don't work. I went down this path a couple of years or so ago, hoping to make LINQPad WINE-friendly, but there were too many blocking issues.

  • edited July 2023

    I'm having the same behavior on a newly installed Windows 10 computer.

    I don't like the fact that it just opens a new window each time you press the Launch button :cry:

    From startup.txt log file:

    2023-07-06 14:29:26 PromptForFxInstall: No compatible .NET installations found.
    Target DLL: C:\Program Files\LINQPad7\LINQPad.GUI.dll
    dotnet root detected via registry: C:\Program Files\dotnet\
    Probing C:\Program Files\dotnet\host\fxr
    Probing C:\Program Files\dotnet\shared\Microsoft.NETCore.app
    Probing C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App
    Using dotnet root: C:\Program Files\dotnet\
    AllowPrerelease=true
    - found 5.0.17
    - found 5.0.17
    - found 6.0.18
    - found 6.0.18

    2023-07-06 14:29:29 Attempt to read C:\Users\MYUSERNAME\AppData\Roaming\LINQPad\RoamingUserOptions.xml

    2023-07-06 14:29:29 No user options file for LINQPad found - using default runtime version.

    2023-07-06 14:29:29 PromptForFxInstall: No compatible .NET installations found.
    No .linq file specified in command-line args
    Target DLL: C:\Program Files\LINQPad7\LINQPad.Runtime.dll
    dotnet root detected via registry: C:\Program Files\dotnet\
    Probing C:\Program Files\dotnet\host\fxr
    Probing C:\Program Files\dotnet\shared\Microsoft.NETCore.app
    Probing C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App
    Using dotnet root: C:\Program Files\dotnet\
    AllowPrerelease=true
    - found 5.0.17
    - found 5.0.17
    - found 6.0.18
    - found 6.0.18

    2023-07-06 14:29:29 PromptForFxInstall: No compatible .NET installations found.
    Target DLL: C:\Program Files\LINQPad7\LINQPad.GUI.dll
    dotnet root detected via registry: C:\Program Files\dotnet\
    Probing C:\Program Files\dotnet\host\fxr
    Probing C:\Program Files\dotnet\shared\Microsoft.NETCore.app
    Probing C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App
    Using dotnet root: C:\Program Files\dotnet\
    AllowPrerelease=true
    - found 5.0.17
    - found 5.0.17
    - found 6.0.18
    - found 6.0.18

  • It looks like you're running an old version of LINQPad. Try the latest from https://www.linqpad.net/Download.aspx

Sign In or Register to comment.