Skip to content

Conversation

@sbomer
Copy link
Member

@sbomer sbomer commented Dec 8, 2022

Necessary for dotnet/sdk#29441, which is using the implicit PackageReference approach for ILLink.Tasks. The PackageReference will only be added when PublishTrimmed is true, so this will replace https://github.com/dotnet/sdk/blob/3a12a4c2a731ea5963a8161ded6b62282d1323df/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets#L355.

This will need to go into the 7.0 branch too, so that the 7.0 package can be used when targeting net7.0 with a .NET 8 SDK.

@sbomer
Copy link
Member Author

sbomer commented Dec 8, 2022

Never mind, I might need to leave the ILLink target in the SDK because there are other targets which depend on it, so this change probably isn't necessary.

@sbomer sbomer closed this Dec 9, 2022
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.

1 participant