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 System.IO.Pipelines to Version.Details for source-build #69719

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

mthalman
Copy link
Member

This fixes an issue with System.IO.Pipelines, as described in dotnet/source-build#3599, that is showing up as a reference assembly in the source-built SDK.

The reason a reference assembly exists in this case is because Roslyn has a reference to the 7.0.0 version of System.IO.Pipelines. When building with source-build, it loads that reference from SBRP (which only contains reference assemblies) in order to fulfill compile time references. The problem is that the assembly is also getting included in the output. This should have been detected by poison leak detection but that doesn't yet handle reference assemblies.

It's not known whether the existence of this ref assembly causes a functional issue. But it is known that the source-built 7.0 SDK doesn't define this as a ref assembly but rather as an implementation assembly. So to maintain parity with 7.0 and avoid potential risk, it's best to ensure this is represented as an implementation assembly in the output.

@mthalman mthalman requested a review from a team August 25, 2023 14:02
@mthalman mthalman requested a review from a team as a code owner August 25, 2023 14:02
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants