Skip to content

Latest PowerShell task SDK is incompatible with ClientOM 19 and 20 #1135

@jessehouwing

Description

@jessehouwing

This causes the following function:

Get-TfsClientCredentials

to fail, because the class Microsoft.TeamFoundation.Client.TfsClientCredentials no longer exists.

This has been replaced by Microsoft.VisualStudio.Services.Client.VssClientCredentials from assembly: Microsoft.VisualStudio.Services.Client.Interactive.

The Get-TfsClientCredentials should probably test for the existence of the VssClientCredentials and use that, then fall back to TfsClientCredentials for backwards compat.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions