Skip to content

Commit

Permalink
Add ProcessFrameworkReferences target to Empty.targets
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ViktorHofer authored Dec 12, 2024
1 parent 71bd8f1 commit c3e8e58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Microsoft.DotNet.Arcade.Sdk/tools/Empty.targets
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
<Target Name="Test"/>
<Target Name="Pack"/>
<Target Name="Publish"/>
<Target Name="ProcessFrameworkReferences" />

</Project>

0 comments on commit c3e8e58

Please sign in to comment.