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

Microsoft.NET.Publish.targets GetCopyToPublishDirectoryItems depends on AssignProjectConfiguration #45512

Closed
wants to merge 1 commit into from

Conversation

vikukush
Copy link

When GetCopyToPublishDirectoryItems is called on its own, the depends tree terminates at _SplitProjectReferencesByFileExistence
image
_SplitProjectReferencesByFileExistence tries to use @(ProjectReferenceWithConfiguration) , which is empty, because it is emitted by AssignProjectConfiguration, which isn't actually called.
Add the target to the dependson list to ensure all projectreferences are considered

@dsplaisted
Copy link
Member

Looks like this is superseded by dotnet/msbuild#11167, is that correct?

@vikukush
Copy link
Author

Looks like this is superseded by dotnet/msbuild#11167, is that correct?

yes, this PR would bring recursiveness that would work against the comment on the target

@vikukush vikukush closed this Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants