chocolatey / chocolatey/choco

Migrate to .NET Core and consider using ReadyToRun

Open
#2,147 3 comments 2 reactions 0 assignees View on GitHub
0 - Backlog Breaking Change Enhancement
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

At the moment choco is written on .net framework - meanwhile it's deprecated framework from Microsoft perspective - Microsoft is targeting to .net core, which is also compatible with other OSes like Linux, Android.

Theoretically it's possible to upgrade .net framework to .net core and get choco to be more portable accross other OS's.

Another thing which could be considered - .net core possesses built-in support for ReadyToRun feature:
https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0#readytorun-images

Which in theory could be used to compile choco to standalone installer technology.

Most probably this will compete with other install technologies available out there, like msix, etc...

What I have briefly tested by myself - at the moment choco uses AlphaFS, which somehow windows optimized file system API's - suspect that needs to be replaced with .net official API's (maybe for other OS's except windows ?).

Have you considered something like this ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.