Skip to content

-runtimeConfiguration breaks -r as a shortcut for restore on build.ps1 #2172

Closed

Description

@billwert
PS E:\source\runtime [master ≡] > .\build.cmd -r
E:\source\runtime\eng\build.ps1 : Missing an argument for parameter 'runtimeConfiguration'. Specify a parameter of type 'System.String' and try again.
    + CategoryInfo          : InvalidArgument: (:) [build.ps1], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingArgument,build.ps1

This previously would run restore. Passing -restore works fine. Trivial fix is to just clean up the help text.

Activity

  1. added
    untriaged
    on Jan 24, 2020
  2. safern commented on Jan 24, 2020

    @safern
    Member

    cc: @ViktorHofer this is due to PS not letting 2 arguments start with the same substring.

  3. ghost locked as resolved and limited conversation to collaborators on Dec 11, 2020
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

    area-Infrastructureuntriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions