File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,12 +136,21 @@ dotnet build APISample.sln -c Release --property WarningLevel=0
136136To include the ** AndDone' s DotNet client library** in your project:
137137
1381381. Manually
139- 1. In your .csproj file, add a package reference to: ```<PackageReference Include="AndDoneSecureClientLibrary" Version="1.0.0" />```
139+ 1. Create a GitHub Personal Access Token (PAT) by logging into GitHub
140+ 2. Select User -> Settings -> Developer Settings -> Personal access tokens -> Tokens (classic)
141+ 3. Select Generate new token -> Generate new token (classic)
142+ 4. Give an identifiable description name
143+ 5. Copy Token to be used below as GH_PAT
144+ 6. Add the GHCR reference to the local machine by running the following in Powershell:
145+ ```sh
146+ dotnet nuget add source --username {GH_USER} --password {GH_PAT} --store-password-in-clear-text --name githubanddone "https://nuget.pkg.github.com/AndDone-kit/index.json"
147+ ```
148+ 7. In your .csproj file, add a package reference to: ```<PackageReference Include="AndDoneSecureClientLibrary" Version="1.0.0" />```
140149
1411503. Within Visual Studio
142151 1. Open your solution in Visual Studio
143152 2. Select Tools -> Nuget Package Manager -> Manage NuGet Package for solution
144- 3. Click Gear Setting and add Package Source: https://nuget.pkg.github.com/AndDone-LLC /index.json with any name
153+ 3. Click Gear Setting and add Package Source: https://nuget.pkg.github.com/AndDone-kit /index.json with any name
145154 4. Select same name in Package Source drop down
146155 5. Click Browse Tab and select "AndDoneSecureClientLibrary"
147156 6. Select your project and "Install"
You can’t perform that action at this time.
0 commit comments