ThermoRawFileParser icon indicating copy to clipboard operation
ThermoRawFileParser copied to clipboard

self contain app

Open ypriverol opened this issue 4 years ago • 5 comments

@caetera @nielshulstaert can we explore how to release self contain an application for the converter

ypriverol avatar Jul 03 '20 10:07 ypriverol

.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

caetera avatar Jul 03 '20 11:07 caetera

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?

nielshulstaert avatar Jul 03 '20 12:07 nielshulstaert

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?

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.

caetera avatar Jul 03 '20 13:07 caetera

It looks like the runtime is included in the package? Is this issue completed, or are still system/additional mono installations needed?

timosachsenberg avatar May 29 '24 07:05 timosachsenberg

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).

caetera avatar May 29 '24 13:05 caetera