Skip to content

Commit 15341b2

Browse files
To be more specific platform use case, updated document with RID value (#25)
* To be more specific platform use case, updated document with RID values explicitly To be more specific platform use case, updated document with RID values explicitly. This could be also treated as solution for issue: #11 * Apply suggestions from code review --------- Co-authored-by: Vincent Biret <vincentbiret@hotmail.com>
1 parent f866ab6 commit 15341b2

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

OpenAPI/kiota/install.md

+17-3
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,29 @@ dotnet tool install --global Microsoft.OpenApi.Kiota
7171
1. Open the solution with Visual Studio and right click *publish* **--or--** execute the following command:
7272

7373
```bash
74+
dotnet publish ./src/kiota/kiota.csproj -c Release -p:PublishSingleFile=true -r <RIDs>
75+
```
76+
77+
| RIDs | Value |
78+
|--------------------|-----------|
79+
| Linux (x64) | linux-x64 |
80+
| macOS (arm64) | osx-arm64 |
81+
| macOS (x64) | osx-x64 |
82+
| Windows (x64) | win-x64 |
83+
| Windows (x86) | win-x86 |
84+
85+
> [!NOTE]
86+
> Refer to [.NET runtime identifier catalog](/dotnet/core/rid-catalog) so select the appropriate runtime for your platform.
87+
88+
For example if your platform is Windows (x64), your command will be as below
89+
90+
```bash
7491
dotnet publish ./src/kiota/kiota.csproj -c Release -p:PublishSingleFile=true -r win-x64
7592
```
7693

7794
1. Navigate to the output directory (usually under `src/kiota/bin/Release/net7.0`).
7895
1. Run `kiota.exe ...`.
7996

80-
> [!NOTE]
81-
> Refer to [.NET runtime identifier catalog](/dotnet/core/rid-catalog) so select the appropriate runtime for your platform.
82-
8397
## Install the Visual Studio Code extension
8498

8599
1. Open the [Marketplace page of the extension](https://aka.ms/kiota/extension)

0 commit comments

Comments
 (0)