Skip to content

Commit

Permalink
update md file
Browse files Browse the repository at this point in the history
  • Loading branch information
synthphonic committed May 30, 2022
1 parent 7e65b83 commit 4fee273
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions docs/PACKAGING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,33 @@

## Publish an app self-contained and ReadyToRun.

### macOS 64-bit
### macOS x64
- Publish an app self-contained and ReadyToRun. A macOS 64-bit executable is created.
```csharp
dotnet publish -c Release -r osx-x64 -p:PublishReadyToRun=true
```
- Publish a self-contained and ReadyToRun and single file.
```csharp
dotnet publish -c Release -r osx-64 -o publish -p:PublishReadyToRun=true -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true
dotnet publish -c Release -r osx-x64 -o publish-x64 -p:PublishReadyToRun=true -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true -p:UseAppHost=true
```
### macOS x64 Monterey
- Publish an app self-contained and ReadyToRun. A macOS 64-bit executable is created.
```csharp
dotnet publish -c Release -r osx.12-x64 -p:PublishReadyToRun=true
```
- Publish a self-contained and ReadyToRun and single file.
```csharp
dotnet publish -c Release -r osx.12-x64 -o publish-12-x64 -p:PublishReadyToRun=true -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true -p:UseAppHost=true
```

### macOS M1
- Publish an app self-contained and ReadyToRun. A macOS 64-bit executable is created.
```csharp
dotnet publish -c Release -r osx.12-arm64 -p:PublishReadyToRun=true
```
- Publish a self-contained and ReadyToRun and single file.
```csharp
dotnet publish -c Release -r osx.12-arm64 -o publish-arm64 -p:PublishReadyToRun=true -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true -p:UseAppHost=true
```

### Windows 64-bit
Expand Down

0 comments on commit 4fee273

Please sign in to comment.