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

C#: Handle netstandard references in standalone extraction #14545

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tamasvajk
Copy link
Contributor

@tamasvajk tamasvajk commented Oct 19, 2023

This PR handles netstandard target frameworks. When multiple frameworks are targeted then the assemblies get deduplicated by name. Netstandard packages contain a netstandard.dll assembly, which conflicts with other variants.

The first DCA experiment shows significant improvement on DewGaming/PokemonDatabase, where it removes 266810 compilation errors.
The second DCA experiment shows that this could be further improved. netcoreapp2.0 seems to also reference netstandard2.0, so there are cases when both nuget packages are expected to be fetched.

@github-actions github-actions bot added the C# label Oct 19, 2023
@tamasvajk tamasvajk changed the title C#: Remove netstandard.library.ref from the references C#: Handle netstandard references in standalone extraction Oct 20, 2023
@tamasvajk tamasvajk force-pushed the standalone/remove-netstandard.library.ref branch from 63f94a0 to 3f1e145 Compare October 20, 2023 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant