3 ms·
Would have been great if the author reached out to community about .NET first instead of posting content that they did. Anyway # JIT-based build dotnet pu
by neonsunset 2y ago
Would have been great if the author reached out to community about .NET first instead of posting content that they did.
Anyway
# JIT-based build
dotnet publish -o {folder} -r linux-musl-arm64 -p:PublishSingleFile=true -p:PublishTrimmed=true
# Native binary build
dotnet publish -o {folder} -r linux-musl-arm64 -p:PublishAot=true
Can build on the RPI too: https://learn.microsoft.com/en-us/dotnet/core/install/linux-alpine?tabs=dotnet9 https://learn.microsoft.com/en-us/dotnet/core/install/linux-...
I guess it's too challenging to browse the docs...