Skip to content

Conversation

@ViktorHofer
Copy link
Member

  • Simplify FilterImplicitAssemblyReferences target
  • Add comments to a few settings
  • Add missing aspnetcore KnownFrameworkReference targeting pack setting
  • Disable P2Ps getting copied to a lib's output which makes the build significantly faster.
  • Move the _FindDependencies property from props to targets and extend the comment on why the setting is necessary.

- Simplify FilterImplicitAssemblyReferences target
- Add comments to a few settings
- Add missing aspnetcore KnownFrameworkReference targeting pack setting
- Disable P2Ps getting copied to a lib's output which makes the build significantly faster.
- Move the _FindDependencies property from props to targets and extend the comment on why the setting is necessary.
Comment on lines +50 to +52
<KnownFrameworkReference Update="@(KnownFrameworkReference->WithMetadataValue('Identity', 'Microsoft.AspNetCore.App'))">
<TargetingPackVersion Condition="'%(TargetFramework)' == 'net6.0'">6.0.2</TargetingPackVersion>
</KnownFrameworkReference>
Copy link
Member

Choose a reason for hiding this comment

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

We also have a 6.0.2 version of Microsoft.NetCore.App.Ref. Does that need an entry like this as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, as there's also a 6.0.0 version of Microsoft.NETCore.App.Ref. When targeting net6.0 we need to use either 6.0.0 or 6.0.2, we can't use both. The existing 6.0.0 version is fine to be used here.

Ideally repositories wouldn't depend on the 6.0.2 Microsoft.NETCore.App.Ref targeting pack in source-build. Not sure what required it to be added.

@MichaelSimons MichaelSimons merged commit e052587 into main Mar 5, 2025
4 checks passed
@MichaelSimons MichaelSimons deleted the VariousSBRPImprovements2 branch March 5, 2025 14:41
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.

4 participants