asc-community / asc-community/AngouriMath

Self-contained terminal

Open
#539 3 comments 0 reactions 0 assignees View on GitHub
Opinions wanted Proposal
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

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.