You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.NET Core has option to publish self-contained executable - https://docs.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained
That will require some work, however, to switch the project/solution to NetCore SDK, the code itself should be compatible (or require minor changes). It will also mean that we will need to produce an invidual binary release for every platform we want to support - linux-x64, macos-x64 etc
I've looked into the mono mkbundle tool a while ago for an issue. It seems that it's platform specific and it's not guaranteed that an ubuntu 18 executable will run on arch linux for example.
I don't have experience with .NET core but I'll try to install it on my system. @caetera do you know if the thermo libraries are compatible with .NET core?
I don't have experience with .NET core but I'll try to install it on my system. @caetera do you know if the thermo libraries are compatible with .NET core?
I have tried self-contained executables in other project, compiled on Ubuntu it worked on Arch without any problems. I did not perform extensive testing though.
Hi @timosachsenberg,
no, mono is still a requirement. The runtime folder only contains the runtime versions of the Mono.Unix package (it is released that way).
Activity
caetera commentedon Jul 3, 2020
.NET Core has option to publish self-contained executable - https://docs.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained
That will require some work, however, to switch the project/solution to NetCore SDK, the code itself should be compatible (or require minor changes). It will also mean that we will need to produce an invidual binary release for every platform we want to support - linux-x64, macos-x64 etc
nielshulstaert commentedon Jul 3, 2020
I've looked into the mono mkbundle tool a while ago for an issue. It seems that it's platform specific and it's not guaranteed that an ubuntu 18 executable will run on arch linux for example.
I don't have experience with .NET core but I'll try to install it on my system. @caetera do you know if the thermo libraries are compatible with .NET core?
caetera commentedon Jul 3, 2020
Yes, for 5.0.38 there is a version complied for Net Standard 2.0 - i.e. NetCore 2.0 and higher -- https://docs.microsoft.com/en-us/dotnet/standard/net-standard
I have tried self-contained executables in other project, compiled on Ubuntu it worked on Arch without any problems. I did not perform extensive testing though.
timosachsenberg commentedon May 29, 2024
It looks like the runtime is included in the package? Is this issue completed, or are still system/additional mono installations needed?
caetera commentedon May 29, 2024
Hi @timosachsenberg,
no, mono is still a requirement. The
runtimefolder only contains the runtime versions of theMono.Unixpackage (it is released that way).caetera commentedon Mar 24, 2025
This should be solved by the future release (#193) as well.
timosachsenberg commentedon Oct 27, 2025
🙏
ypriverol commentedon Oct 27, 2025
🤩 Thanks @caetera I already started working in the conda container.