Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To be more specific platform use case, updated document with RID value #25

Merged
merged 2 commits into from
Oct 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions OpenAPI/kiota/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,29 @@ dotnet tool install --global Microsoft.OpenApi.Kiota
1. Open the solution with Visual Studio and right click *publish* **--or--** execute the following command:

```bash
dotnet publish ./src/kiota/kiota.csproj -c Release -p:PublishSingleFile=true -r <RIDs>
```

| RIDs | Value |
|--------------------|-----------|
| Linux (x64) | linux-x64 |
| macOS (arm64) | osx-arm64 |
| macOS (x64) | osx-x64 |
| Windows (x64) | win-x64 |
| Windows (x86) | win-x86 |

> [!NOTE]
> Refer to [.NET runtime identifier catalog](/dotnet/core/rid-catalog) so select the appropriate runtime for your platform.

For example if your platform is Windows (x64), your command will be as below

```bash
dotnet publish ./src/kiota/kiota.csproj -c Release -p:PublishSingleFile=true -r win-x64
```

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

> [!NOTE]
> Refer to [.NET runtime identifier catalog](/dotnet/core/rid-catalog) so select the appropriate runtime for your platform.

## Install the Visual Studio Code extension

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