AngouriMath
AngouriMath copied to clipboard
Self-contained terminal
The package I want to suggest the idea to: AngouriMath.Terminal
So that anyone could download it and use, without the need to use SDK and without installation. This means shipping a single executable file.
Problem 1: assemblies
The terminal relies on embedded kernel, to which we need to load assemblies of AngouriMath.Interactive. If we do single file, we need to keep those assemblies inside
Problem 2: trimming
Because of it, unused methods (almost all) will be removed. So we need to not trim only our packages, and let it trim everything else. To check DynamicDependency.
dotnet publish -c release
-r win-x64
/p:PublishTrimmed=true
/p:ReadyToRun=true
/p:PublishSingleFile=true
/p:TrimMode=copyused
--self-contained