LinqPad in linux with wine - nuget issue
I've installed LinqPad in wine on linux machine.
It launches, and can do all basic features: write and execute code samples, choose runtime, save snippets, turn on and off optimizations.
License activation also worked fine, and I have auto complete.
But when I try to add NuGet package, it crashes
The window "Report a bug" appears for two second and disappears. I clicked "Submit", but I'm not shure if it did.
My install:
System:
Host: calculate Kernel: 5.10.53-calculate x86_64 bits: 64 Desktop: KDE Plasma 5.21.5 Distro: Calculate Linux Desktop 21 KDE
Wine:
virtual/wine 0-r7
app-eselect/eselect-wine 1.2.2
app-emulation/wine-staging 6.15
app-emulation/winetricks 20210206
app-emulation/wine-mono 6.3.0
app-emulation/wine-desktop-common 20150204-r1
app-emulation/wine-gecko 2.47.2
LINQPad 6 (Premium Edition) v6.14.10 (X64)
Can anything be done with it ?
Having a LinqPad on my linux machine is great, as I use it as main computer for development. And even now it helps a lot, and I have workaround to install packages by editing .linqpad file, but that is a little less convenient, than using a dedicated master.
Installing packages works, only nuget UI cause crashes.
Comments
I've got one more error: in LinqPad via wine, open properties (F4) and then close.
This error does not cause crash and have some details
The error window when I try to open NuGet master and that causes crash:
It could be because the NuGet package manager uses WPF rather than Windows Forms. There are some issues with WINE and WPF, described here:
https://ccifra.github.io/PortingWPFAppsToLinux/Overview.html
Also, have you verified that LINQPad is stable in this configuration over time? I've found that LINQPad on CrossOver runs well for a few minutes and then crashes.
LINQPad is adequately stable with my configuration.
It rarely crashes after several minutes, most of the time it can last for hours, until I consciously close it. And it restores previous queries in case of crash.
@JoeAlbahari , thanks for the link.
P.S. also, there was a problem with default windows font.
Fira Code Retina works fine.
I've just figured out that x86 version of LINQPad runs more stable and can show NuGet Manger Window. Not from the first time though, I have to click "Add NuGet..." button several times, but in the end it works!