Skip to content

Commit 1a93ef1

Browse files
author
Justin Marks
authored
minor readme fixes
1 parent 9d05216 commit 1a93ef1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ClientLibraryPatAppSample/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ For native applications the best way to authenticate and access VSTS resources i
44

55
## Sample Application
66

7-
This buildable sample will walk you through the steps to create an application which uses the [Client Libraries](https://www.visualstudio.com/en-us/docs/integrate/get-started/client-libraries/dotnet) to open an interactive login prompt and use that authentication state to execute a user pre-defined query written in [Work Item Query Language](https://msdn.microsoft.com/en-us/library/bb130198(v=vs.90).aspx). Query results are output into the console.
7+
This buildable sample will walk you through the steps to create an application which uses the [Client Libraries](https://www.visualstudio.com/en-us/docs/integrate/get-started/client-libraries/dotnet) and a personal access token to execute a user pre-defined query written in [Work Item Query Language](https://msdn.microsoft.com/en-us/library/bb130198(v=vs.90).aspx). Query results are output into the console.
88

99
## Step 1: Clone or download vsts-auth-samples repository
1010

@@ -16,10 +16,10 @@ git clone https://github.com/Microsoft/vsts-auth-samples.git
1616
## Step 2: Run the sample
1717

1818
1. Generate a [PAT token](https://docs.microsoft.com/en-us/vsts/organizations/accounts/use-personal-access-tokens-to-authenticate?view=vsts) and grant it "Work items (read)" permission and make a copy of the generated value
19-
1. Navigate to the sample in cloned repo `vsts-auth-samples/ClientLibraryPatAppSample/`
20-
2. Use [Nuget package restore](https://docs.microsoft.com/en-us/nuget/consume-packages/package-restore) to ensure you have all dependencies installed
21-
3. Open the solution file `ClientLibraryPatAppSample.csproj` in [Visual Studio 2017](https://www.visualstudio.com/downloads/)
22-
4. Open CS file `Program.cs` and there is a section with input values to change at the top of the class:
19+
2. Navigate to the sample in cloned repo `vsts-auth-samples/ClientLibraryPatAppSample/`
20+
3. Use [Nuget package restore](https://docs.microsoft.com/en-us/nuget/consume-packages/package-restore) to ensure you have all dependencies installed
21+
4. Open the solution file `ClientLibraryPatAppSample.csproj` in [Visual Studio 2017](https://www.visualstudio.com/downloads/)
22+
5. Open CS file `Program.cs` and there is a section with input values to change at the top of the class:
2323
* `vstsCollectionUrl` - Mutable value. This is the url to your VSTS/TFS collection, e.g. http://myaccount.visualstudio.com for VSTS or http://myserver:8080/tfs/DefaultCollection for TFS.
2424
* `pat` - Mutable value. This is the value you generated in step 1.
25-
5. Build and run solution. After running you should see a list of the IDs all work items which match your query restrictions.
25+
6. Build and run solution. After running you should see a list of the IDs all work items which match your query restrictions.

0 commit comments

Comments
 (0)