Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't run _HandlePackageFileConflicts target if there are no references #3912

Merged
merged 2 commits into from Dec 19, 2019

Conversation

dsplaisted
Copy link
Member

Fixes #3585

@livarcocc
Copy link
Contributor

This should go for 3.1.2xx at this point right?

@dsplaisted
Copy link
Member Author

@livarcocc Yes, but we don't have that branch yet :-)

@dsplaisted dsplaisted changed the base branch from release/3.1.1xx to release/3.1.2xx December 16, 2019 18:06
@dsplaisted dsplaisted marked this pull request as ready for review December 16, 2019 18:07
@dsplaisted
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dsplaisted dsplaisted requested a review from a team December 16, 2019 18:07
@@ -25,7 +25,8 @@ Copyright (c) .NET Foundation. All rights reserved.
<Target Name="_HandlePackageFileConflicts"
BeforeTargets="$(_HandlePackageFileConflictsBefore)"
AfterTargets="$(_HandlePackageFileConflictsAfter)"
DependsOnTargets="GetFrameworkPaths;GetReferenceAssemblyPaths">
DependsOnTargets="GetFrameworkPaths;GetReferenceAssemblyPaths"
Condition="'@(Reference)' != '' Or '@(ReferencePath)' != ''">
Copy link
Contributor

Choose a reason for hiding this comment

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

It feels wrong that this conditions on ReferencePath but doesn't use ReferencePath.

@dsplaisted
Copy link
Member Author

@nguerrera @livarcocc I pushed an update based on Nick's feedback. One of you may want to merge this assuming the tests pass.

@nguerrera nguerrera merged commit 43c2cfa into dotnet:release/3.1.2xx Dec 19, 2019
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.

None yet

3 participants