Skip to content

Allow passing down an upper case subset category - #104

Merged
safern merged 1 commit into
dotnet:masterfrom
safern:AllowUppercaseSubsetCategory
Nov 18, 2019
Merged

safern merged 1 commit into
dotnet:masterfrom
safern:AllowUppercaseSubsetCategory

Conversation

@safern

@safern safern commented Nov 18, 2019 •

Copy link
Copy Markdown
Member

Without this when passing down the Libraries subset category on upper case it won't work as expected as we would append the actions twice if their passed in:

PS E:\repos\runtime> .\build.cmd -subsetCategory Libraries -build -restore -buildtests
E:\repos\runtime\eng\common\build.ps1 : Cannot bind parameter because parameter 'build' is specified more than once. To provide multiple values to parameters that can accept multiple values, use the array syntax. For example, "-parameter value1,value2,value3".
At line:1 char:79
+ ... /common/build.ps1" -restore -build /p:subsetCategory=Libraries -build /p:Buil ...
+ ~~~~~~
+ CategoryInfo : InvalidArgument: (:) [build.ps1], ParameterBindingException
+ FullyQualifiedErrorId : ParameterAlreadyBound,build.ps1

Comment thread eng/build.ps1 Resolved
@safern

safern commented Nov 18, 2019

Copy link
Copy Markdown
Member Author

Merging as this doesn't affect CI.

@safern
safern merged commit ca2dec4 into dotnet:master Nov 18, 2019
@safern
safern deleted the AllowUppercaseSubsetCategory branch November 18, 2019 19:09
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
MichalStrehovsky added a commit to MichalStrehovsky/runtime that referenced this pull request Oct 12, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants