CasCap.Api.AzureDevOps
4.2.3
Prefix Reserved
See the version list below for details.
dotnet add package CasCap.Api.AzureDevOps --version 4.2.3
NuGet\Install-Package CasCap.Api.AzureDevOps -Version 4.2.3
<PackageReference Include="CasCap.Api.AzureDevOps" Version="4.2.3" />
<PackageVersion Include="CasCap.Api.AzureDevOps" Version="4.2.3" />
<PackageReference Include="CasCap.Api.AzureDevOps" />
paket add CasCap.Api.AzureDevOps --version 4.2.3
#r "nuget: CasCap.Api.AzureDevOps, 4.2.3"
#:package CasCap.Api.AzureDevOps@4.2.3
#addin nuget:?package=CasCap.Api.AzureDevOps&version=4.2.3
#tool nuget:?package=CasCap.Api.AzureDevOps&version=4.2.3
CasCap.Api.AzureDevOps
Azure DevOps helper library used by the yamlizr global tool. It reads classic Designer Build and Release Definitions through the Azure DevOps REST API and converts them into Azure Pipelines YAML objects.
Purpose
The library owns everything that is not command line presentation:
- an Azure DevOps REST client for the endpoints the official .NET client libraries do not cover
- models for the Azure DevOps task/extension catalogue
- models for the subset of the Azure Pipelines YAML schema that this tool emits
- the generator that maps a classic definition onto those YAML models
Services
| Type | Purpose |
|---|---|
IApiService / ApiService |
Retrieves the installed extension catalogue for an organisation and validates generated YAML against the preview-run endpoint. |
Utilities
| Type | Purpose |
|---|---|
YamlPipelineGenerator |
Converts a BuildDefinition or a ReleaseDefinition into a Pipeline, and reports what it could not convert through Warnings. |
LiteralMultilineEventEmitter |
YamlDotNet event emitter which renders multi-line strings as literal block scalars rather than escaped single lines. |
YamlPipelineGenerator.Warnings is the library's contract for conversion fidelity: any classic
construct that cannot be represented is recorded there rather than dropped silently. Callers are
expected to surface it. See issue #182.
Configuration
AzureDevOpsOptions binds the CasCap:AzureDevOpsOptions section.
| Property | Purpose |
|---|---|
PAT |
Personal Access Token, or an access token issued to a pipeline's build service identity. |
OrganisationUri |
Absolute Uri of the Azure DevOps organisation. |
Project |
Name of the team project to convert. |
Class Hierarchy
classDiagram
class Pipeline
class Template
class StageAzDO
class TriggerAzDO
class YamlPipelineGenerator
class ApiService
Pipeline <|-- Template
Pipeline *-- StageAzDO
Pipeline *-- TriggerAzDO
YamlPipelineGenerator ..> Pipeline : creates
YamlPipelineGenerator ..> Template : creates
ApiService ..> YamlPipelineGenerator : supplies task catalogue
Dependencies
| NuGet package | Purpose |
|---|---|
AzurePipelinesToGitHubActionsConverter.Core |
Azure Pipelines YAML schema types and the GitHub Actions conversion. |
CasCap.Common.Extensions |
Shared collection and string helpers. |
CasCap.Common.Net |
HttpClientBase, the REST client base type. |
Microsoft.TeamFoundation.DistributedTask.WebApi |
Task group and variable group clients. |
Microsoft.TeamFoundationServer.Client |
Build definition client. |
Microsoft.VisualStudio.Services.Client |
Connection and credential types. |
Microsoft.VisualStudio.Services.Release.Client |
Release definition client. |
Newtonsoft.Json |
Required by the Azure DevOps client libraries. |
semver |
Parses classic task version specs such as 2.*. |
YamlDotNet |
YAML serialization. |
| Project reference | Configuration |
|---|---|
CasCap.Common.Extensions, CasCap.Common.Net |
Referenced as projects in Debug, as packages in Release. |
| 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 is compatible. 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 is compatible. 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. |
-
net10.0
- AzurePipelinesToGitHubActionsConverter.Core (>= 1.4.6)
- CasCap.Common.Extensions (>= 4.12.7)
- CasCap.Common.Net (>= 4.12.7)
- Microsoft.TeamFoundation.DistributedTask.WebApi (>= 20.256.2)
- Microsoft.TeamFoundationServer.Client (>= 20.256.2)
- Microsoft.VisualStudio.Services.Client (>= 20.256.2)
- Microsoft.VisualStudio.Services.Release.Client (>= 20.256.2)
- Newtonsoft.Json (>= 13.0.4)
- semver (>= 3.0.0)
- System.Configuration.ConfigurationManager (>= 10.0.11)
- YamlDotNet (>= 18.1.0)
-
net8.0
- AzurePipelinesToGitHubActionsConverter.Core (>= 1.4.6)
- CasCap.Common.Extensions (>= 4.12.7)
- CasCap.Common.Net (>= 4.12.7)
- Microsoft.TeamFoundation.DistributedTask.WebApi (>= 20.256.2)
- Microsoft.TeamFoundationServer.Client (>= 20.256.2)
- Microsoft.VisualStudio.Services.Client (>= 20.256.2)
- Microsoft.VisualStudio.Services.Release.Client (>= 20.256.2)
- Newtonsoft.Json (>= 13.0.4)
- semver (>= 3.0.0)
- System.Configuration.ConfigurationManager (>= 10.0.11)
- YamlDotNet (>= 18.1.0)
-
net9.0
- AzurePipelinesToGitHubActionsConverter.Core (>= 1.4.6)
- CasCap.Common.Extensions (>= 4.12.7)
- CasCap.Common.Net (>= 4.12.7)
- Microsoft.TeamFoundation.DistributedTask.WebApi (>= 20.256.2)
- Microsoft.TeamFoundationServer.Client (>= 20.256.2)
- Microsoft.VisualStudio.Services.Client (>= 20.256.2)
- Microsoft.VisualStudio.Services.Release.Client (>= 20.256.2)
- Newtonsoft.Json (>= 13.0.4)
- semver (>= 3.0.0)
- System.Configuration.ConfigurationManager (>= 10.0.11)
- YamlDotNet (>= 18.1.0)
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 |
|---|---|---|
| 4.2.4 | 37 | 9/11/2026 |
| 4.2.3 | 90 | 9/7/2026 |
| 4.2.2 | 95 | 9/6/2026 |
| 4.2.1 | 92 | 9/6/2026 |
| 4.2.0 | 94 | 9/6/2026 |
| 4.1.1 | 97 | 9/6/2026 |
| 4.1.0 | 119 | 9/6/2026 |
| 4.0.0 | 98 | 9/4/2026 |
| 3.1.6 | 88 | 9/4/2026 |
| 3.1.5 | 99 | 8/18/2026 |
| 3.1.4 | 93 | 8/18/2026 |
| 3.1.3 | 138 | 3/21/2026 |
| 3.1.2 | 140 | 2/2/2026 |
| 3.1.1 | 132 | 1/28/2026 |
| 3.1.0 | 341 | 11/14/2025 |
| 3.0.13 | 190 | 8/10/2025 |
| 3.0.12 | 224 | 7/11/2025 |
| 3.0.11 | 288 | 5/1/2025 |
| 3.0.10 | 217 | 12/2/2024 |