Skip to content

Commit f3220ca

Browse files
committed
Add create source to manual and modify repo org
1 parent 78c5ca8 commit f3220ca

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,21 @@ dotnet build APISample.sln -c Release --property WarningLevel=0
136136
To include the **AndDone's DotNet client library** in your project:
137137
138138
1. 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
141150
3. 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"

0 commit comments

Comments
 (0)