| @@ -40,13 +40,13 @@ Not sure how to add a direct feed? See how [with Visual Studio] or | |||||
| [with Visual Studio]: https://docs.microsoft.com/en-us/nuget/tools/package-manager-ui#package-sources | [with Visual Studio]: https://docs.microsoft.com/en-us/nuget/tools/package-manager-ui#package-sources | ||||
| [without Visual Studio]: #configuring-nuget-without-visual-studio | [without Visual Studio]: #configuring-nuget-without-visual-studio | ||||
| ## Using Visual Studio | |||||
| ## [Using Visual Studio](#tab/vs-install) | |||||
| > [!TIP] | > [!TIP] | ||||
| >Don't forget to change your package source if you're installing from | |||||
| the developer feed. | |||||
| >Also make sure to check "Enable Prereleases" if installing a dev | |||||
| build! | |||||
| > Don't forget to change your package source if you're installing from | |||||
| > the developer feed. | |||||
| > Also make sure to check "Enable Prereleases" if installing a dev | |||||
| > build! | |||||
| 1. Create a solution for your bot. | 1. Create a solution for your bot. | ||||
| 2. In Solution Explorer, find the "Dependencies" element under your | 2. In Solution Explorer, find the "Dependencies" element under your | ||||
| @@ -57,10 +57,10 @@ bot's project. | |||||
| 5. Install the `Discord.Net` package. | 5. Install the `Discord.Net` package. | ||||
|  |  | ||||
| ## Using JetBrains Rider | |||||
| ## [Using JetBrains Rider](#tab/rider-install) | |||||
| > [!TIP] | > [!TIP] | ||||
| Make sure to check the "Prerelease" box if installing a dev build! | |||||
| > Make sure to check the "Prerelease" box if installing a dev build! | |||||
| 1. Create a new solution for your bot. | 1. Create a new solution for your bot. | ||||
| 2. Open the NuGet window (Tools > NuGet > Manage NuGet packages for | 2. Open the NuGet window (Tools > NuGet > Manage NuGet packages for | ||||
| @@ -71,11 +71,11 @@ Solution). | |||||
| 4. Install by adding the package to your project. | 4. Install by adding the package to your project. | ||||
|  |  | ||||
| ## Using Visual Studio Code | |||||
| ## [Using Visual Studio Code](#tab/vs-code) | |||||
| > [!TIP] | > [!TIP] | ||||
| Don't forget to add the package source to a [NuGet.Config file] if | |||||
| you're installing from the developer feed. | |||||
| > Don't forget to add the package source to a [NuGet.Config file] if | |||||
| > you're installing from the developer feed. | |||||
| 1. Create a new project for your bot. | 1. Create a new project for your bot. | ||||
| 2. Add `Discord.Net` to your .csproj. | 2. Add `Discord.Net` to your .csproj. | ||||
| @@ -84,6 +84,19 @@ you're installing from the developer feed. | |||||
| [NuGet.Config file]: #configuring-nuget-without-visual-studio | [NuGet.Config file]: #configuring-nuget-without-visual-studio | ||||
| ## [Using dotnet CLI](#tab/dotnet-cli) | |||||
| > [!TIP] | |||||
| > Don't forget to add the package source to a [NuGet.Config file] if | |||||
| > you're installing from the developer feed. | |||||
| 1. Open command-line and navigate to where your .csproj is located. | |||||
| 2. Enter `dotnet add package Discord.Net`. | |||||
| [NuGet.Config file]: #configuring-nuget-without-visual-studio | |||||
| *** | |||||
| # Compiling from Source | # Compiling from Source | ||||
| In order to compile Discord.Net, you require the following: | In order to compile Discord.Net, you require the following: | ||||