Fixes #4231. NativeAot project throws when running the published executable (#4232)

* Fixes #4231. NativeAot project throws when running the published executable

* Code cleanup

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
This commit is contained in:
BDisp
2025-09-10 17:44:08 +01:00
committed by GitHub
parent 51dda7e69f
commit da9286d3f4
8 changed files with 122 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash
dotnet clean
dotnet build
dotnet clean -c Release
dotnet build -c Release
dotnet publish -c Release -r linux-x64 --self-contained