Skip to content

Fix NuGet errors when consumed by apps #297

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 3 commits into from
Jun 17, 2025

Conversation

jonthysell
Copy link
Contributor

@jonthysell jonthysell commented Jun 11, 2025

This PR fixes our consumption of the Microsoft.Windows.CppWinRT package reference to use Update instead of Include (so at best it "updates" which version to use and doesn't conflict with what RNW wants) and removes the "duplicate reference" warning our customers see.

I'm 99% we don't need the entry at all in newer RNW versions but leaving it for now to deal with older customers.

This PR also removes the NuGet package.lock.json file from the published npm package, as it takes the decision to use/respect lock files away from the customer.

Microsoft Reviewers: Open in CodeFlow

@jonthysell jonthysell marked this pull request as ready for review June 11, 2025 17:08
@jonthysell jonthysell requested a review from a team as a code owner June 11, 2025 17:08
@jonthysell jonthysell enabled auto-merge (squash) June 11, 2025 17:09
@jonthysell jonthysell disabled auto-merge June 17, 2025 17:31
@jonthysell jonthysell merged commit e029035 into microsoft:main Jun 17, 2025
12 checks passed
@jonthysell jonthysell deleted the nugetfixes branch June 17, 2025 17:31
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