Installation
๐ฆ From NuGet (Recommended)
Install the stable release from NuGet:
dotnet add package GW2SDK
๐งช Development Packages
Preview builds are available from GitHub Packages, updated on every commit to main.
Version format:
1.0.0-preview.0.123(commits since last release)
Setup
- Create a personal access token with the
read:packagesscope - Add the package source:
dotnet nuget add source https://nuget.pkg.github.com/sliekens/index.json \
--name sliekens \
--username <USERNAME> --password <TOKEN>
Token Storage
Your token is encrypted and stored in:
| Platform | Location |
|---|---|
| Windows | %appdata%\NuGet\NuGet.Config |
| Mac/Linux | ~/.config/NuGet/NuGet.Config or ~/.nuget/NuGet/NuGet.Config |
Tip
If encryption fails on your platform, add --store-password-in-clear-text to the command.
๐๏ธ Removing Development Packages
To stop using preview builds:
dotnet nuget remove source sliekens