Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/f2calv/azdo-api-net-client-issue

example of error in Azure DevOps .NET Client libraries
https://github.com/f2calv/azdo-api-net-client-issue

azure-devops azure-devops-api dotnet-standard

Last synced: 9 days ago
JSON representation

example of error in Azure DevOps .NET Client libraries

Awesome Lists containing this project

README

        

*SOLVED
You must to cast Process to either a DesignerProcess, DockerProcess or YamlProcess.
Repo updated.

-----------------------------------------

There is an issue in the .NET Client libraries for the Azure DevOps REST API.

When attempting to iterate over the Build tasks within a build definition there are no accessible properties beneath Process.

For similar past bug reports see;
- https://developercommunity.visualstudio.com/content/problem/195362/getfulldefinitionsasync0-does-not-populate-the-bui.html
- https://dev.azure.com/mseng/AzureDevOps/_workitems/edit/1180374/
- https://stackoverflow.com/questions/52205058/retrieve-the-list-of-tasks-for-build-definition-using-net-client-libraries-for

Currently the only way to get this to work in .NET is to use dynamic, however this isn't desireable as we lose strong typing!