Ninjasoft.AzureDevOpsClient
2.3.6
dotnet add package Ninjasoft.AzureDevOpsClient --version 2.3.6
NuGet\Install-Package Ninjasoft.AzureDevOpsClient -Version 2.3.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ninjasoft.AzureDevOpsClient" Version="2.3.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ninjasoft.AzureDevOpsClient" Version="2.3.6" />
<PackageReference Include="Ninjasoft.AzureDevOpsClient" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ninjasoft.AzureDevOpsClient --version 2.3.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ninjasoft.AzureDevOpsClient, 2.3.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ninjasoft.AzureDevOpsClient@2.3.6
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ninjasoft.AzureDevOpsClient&version=2.3.6
#tool nuget:?package=Ninjasoft.AzureDevOpsClient&version=2.3.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Azure DevOps Client
Available Repositories
- Build
- Git
- Pipelines
- Projects
- Releases
- Test
- Work
- WorkItemTracking
Example Code
string personalAccessToken = ""; // generate a token with the correct scopes from the website
string organization = ""; // https://dev.azure.com/orgname
string project = ""; // https://dev.azure.com/orgname/projectname
AzureDevOpsUrlBuilderFactory orgFactory = new(personalAccessToken, organization);
AzureDevOpsRepository orgRepository = new (orgFactory);
List<TeamProjectReference> projects = orgRepository.Projects.GetProjectsForOrganizationAsync();
AzureDevOpsUrlBuilderFactory projectFactory = new(personalAccessToken, organization, project);
AzureDevOpsRepository projectRepository = new (projectFactory);
List<GitRepository> repositories = projectRepository.Git.GetRepositoriesForProjectAsync();
Set the version of the DevOps API you want to target
AzureDevOpsUrlBuilderFactory projectFactory = new(personalAccessToken, organization, project) {Version = "7.0"};
Notes
We use Newtonsoft.Json because System.Text.Json does not support any dictionary with a key that is not a string.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Newtonsoft.Json (>= 13.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.3.6 | 132 | 7/29/2026 |
| 2.3.5 | 197 | 4/16/2026 |
| 2.3.4 | 134 | 4/14/2026 |
| 2.3.3 | 124 | 4/14/2026 |
| 2.2.0 | 351 | 10/27/2025 |
| 2.1.0-alpha | 145 | 6/27/2025 |
| 2.0.0 | 280 | 9/27/2024 |
| 1.5.1 | 246 | 9/27/2024 |
| 1.5.0 | 230 | 5/28/2024 |
| 1.4.0 | 246 | 5/23/2024 |
| 1.3.0 | 266 | 3/28/2024 |
| 1.2.0 | 312 | 12/18/2023 |
| 1.1.0 | 233 | 12/15/2023 |
| 1.0.0 | 240 | 9/21/2023 |
Mark return types with nullable