asc-community / asc-community/AngouriMath
Self-contained terminal
- Dominant language
- C#
- Stars
- 831
- Forks
- 79
- Avg merge
- 3h 23m
- Merged PRs (30d)
- 309
Description
**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](https://docs.microsoft.com/en-us/dotnet/core/deploying/trimming/prepare-libraries-for-trimming#dynamicdependency).
```
dotnet publish -c release
-r win-x64
/p:PublishTrimmed=true
/p:ReadyToRun=true
/p:PublishSingleFile=true
/p:TrimMode=copyused
--self-contained
```
Contributor guide
Assessment
This issue has not been assessed yet.