Not sure what exactly the problem is [1], but mono is not working in com.jetbrains.Rider flatpak. The reason seems to be that /usr/lib/sdk/mono5/use.sh is referencing FLATPAK_DEST:
export PATH=$PATH:${FLATPAK_DEST}/bin
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${FLATPAK_DEST}/lib
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH:+$PKG_CONFIG_PATH:}${FLATPAK_DEST}/lib/pkgconfig
export MONO_GAC_PREFIX=/app
Overriding the flatpak env with FLATPAK_DEST=/usr/lib/sdk/mono5 fixes the problem.
[1]: the presence of FLATPAK_DEST in the script or the missing variable, I'd say the former
output of flatpak info org.freedesktop.Sdk.Extension.mono5
Mono 5.x Sdk extension - Mono runtime, compiler and tools
Hello!
Not sure what exactly the problem is [1], but mono is not working in com.jetbrains.Rider flatpak. The reason seems to be that /usr/lib/sdk/mono5/use.sh is referencing FLATPAK_DEST: export PATH=$PATH:${FLATPAK_DEST}/bin export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${FLATPAK_DEST}/lib export PKG_CONFIG_PATH=${PKG_CONFIG_PATH:+$PKG_CONFIG_PATH:}${FLATPAK_DEST}/lib/pkgconfig export MONO_GAC_PREFIX=/app
Overriding the flatpak env with FLATPAK_DEST=/usr/lib/sdk/mono5 fixes the problem.
[1]: the presence of FLATPAK_DEST in the script or the missing variable, I'd say the former
output of flatpak info org.freedesktop.Sdk.Extension.mono5
Mono 5.x Sdk extension - Mono runtime, compiler and tools
Collection: org.flathub.Stable Installation: system Installed: 564,8 MB