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

Add ProcessFrameworkReferences target to Empty.targets #15333

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

ViktorHofer
Copy link
Member

First of all, I hate this whole filtering model. It's super hacky and constantly causes issues. dotnet/source-build#4047 tracks this.

Here we need to also empty the ProcessFrameworkReferences target as it still runs as it has a Before/AfterTargets hook. Keep it running is causing issues when RuntimeIdentifier is set to a custom value even though the project should be excluded.

Unblocks dotnet/sdk#45362

To double check:

First of all, I hate this whole filtering model. It's super hacky and constantly causes issues. dotnet/source-build#4047 tracks this.

Here we need to also empty the `ProcessFrameworkReferences` target as it still runs as it has a Before/AfterTargets hook. Keep it running is causing issues when RuntimeIdentifier is set to a custom value even though the project should be excluded.

Unblocks dotnet/sdk#45362
@ViktorHofer ViktorHofer requested a review from mmitche December 12, 2024 17:10
@ViktorHofer ViktorHofer merged commit 30fddae into main Dec 12, 2024
11 checks passed
@ViktorHofer ViktorHofer deleted the ViktorHofer-patch-1 branch December 12, 2024 18:35
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.

2 participants