Skip to content

Conversation

AArnott
Copy link
Contributor

@AArnott AArnott commented May 29, 2019

Define Configuration when undefined before using it. Otherwise packages build to just build\ instead of build\debug.

Define Configuration when undefined before using it. Otherwise packages build to just build\ instead of build\debug.
Copy link
Collaborator

@MarcoRossignoli MarcoRossignoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MarcoRossignoli MarcoRossignoli requested a review from tonerdo May 29, 2019 07:05
@@ -2,6 +2,7 @@
<Project>
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit:

Suggested change
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can do that, but coming from the MSBuild team myself (several years ago) we learned it was easier to read the condition expression when the double and single quotes were separated by a space. So I'd rather not make this change.

@MarcoRossignoli
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tonerdo tonerdo merged commit 6209239 into coverlet-coverage:master Jun 2, 2019
@AArnott AArnott deleted the fixPackageOutputPath branch June 2, 2019 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants