Skip to content

Add RemovePackageFrameworkReferences target to avoid pulling deps #672

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

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

mruxmohan4
Copy link
Contributor

The framework assembly reference to System.Runtime.InteropServices.RuntimeInformation (net472) is contained in the slngen package and causing unnecessary dependencies to be pulled in.

To resolve this, add the RemovePackageFrameworkReferences target to remove framework references from the package.

Before change:
image

After change:
image

@mruxmohan4 mruxmohan4 enabled auto-merge (squash) March 10, 2025 21:10
@mruxmohan4 mruxmohan4 merged commit c87b33f into microsoft:main Mar 10, 2025
3 checks passed
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