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

.NET 8 Support #6

Open
HomerJau opened this issue Jan 15, 2025 · 2 comments
Open

.NET 8 Support #6

HomerJau opened this issue Jan 15, 2025 · 2 comments

Comments

@HomerJau
Copy link

This looks very interesting but I'd like to use .NET 8 (long term support) to create an addons for Win, Linux and Android.

Are you planning to support NET 8? (Core 2, 3 etc are no longer supported by Microsoft) and NET 8 runtime is in Kodi repository

@smx-smx
Copy link
Owner

smx-smx commented Jan 15, 2025

The .NET hosting code that started here now lives in its own repository, which supports .NET 8 too: https://github.com/smx-smx/EzDotnet

So it's a matter of making this repository use the new library as a dependency and updating the Python code where needed.

Note that I had issues in running on Android, since Android refuses to load native libraries outside of the Kodi APK (it'd need repackaging, see #3)

What do you mean that the .NET runtime is in the Kodi repository, do they support it officially now?

@HomerJau
Copy link
Author

Thanks for your reply.

I'll have a go at implementing the new library. I don't use C or C++ (hence me shying away from direct Kodi dev but I'm hoping to add functionality via .net in an add-on.

LibreElec includes ASP.NET Core Runtime 8 (always updated). I suspect its also included in CoreElec (both popular Linux Kodi distros). Windows users can install the standard NET runtime easily, if its not in the Kodi repository

The ASP.NET Core Runtime includes NET Runtime so it will run non-UI c# / vb.et code.

Anyway, I won't touch this for 2 or 3 weeks as I'm finishing another project now. But will definitely attempt to use this.

THX
Garry

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

2 participants