Skip to content

Register-PackageSource: Doesn't save credentials to nuget.config file #67

Description

@SetTrend

Current Behavior

When I enter …

Register-PackageSource -Name 'Test' -Location 'https://test.contoso.com/' -ProviderName 'NuGet' -Credential (Get-Credential) -ForceBootstrap -Trusted

… no credentials are getting saved to the nuget.config file.

Expected Behavior

If the Credential argument is provided with ProviderName being "NuGet", Register-PackageSource should save provided credentials to nuget.config file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions