Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

self contain app #82

Open
ypriverol opened this issue Jul 3, 2020 · 5 comments
Open

self contain app #82

ypriverol opened this issue Jul 3, 2020 · 5 comments

Comments

@ypriverol
Copy link
Collaborator

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

@caetera
Copy link
Collaborator

caetera commented 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
Copy link
Contributor

nielshulstaert commented 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
Copy link
Collaborator

caetera commented Jul 3, 2020

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.

@timosachsenberg
Copy link

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

@caetera
Copy link
Collaborator

caetera commented May 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants