Skip to content

Add ProcessFrameworkReferences target to Empty.targets#15333

Merged
ViktorHofer merged 1 commit into
mainfrom
ViktorHofer-patch-1
Dec 12, 2024
Merged

Add ProcessFrameworkReferences target to Empty.targets#15333
ViktorHofer merged 1 commit into
mainfrom
ViktorHofer-patch-1

Conversation

@ViktorHofer

Copy link
Copy Markdown
Member

First of all, I hate this whole filtering model. It's super hacky and constantly causes issues. dotnet/dotnet#1019 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. https://github.com/dotnet/source-build/issues/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
@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