Skip to content

Use MSBuild instead of nuget.exe to restore packages #6625

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

bdukes
Copy link
Contributor

@bdukes bdukes commented Jul 17, 2025

Summary

This is a follow-up to #6575. In the related NuGet issue, it was indicated that using nuget.exe restore could have other issues, and msbuild --target restore --property:RestorePackagesConfig=true was a preferred approach. This PR implements that change, and removes the old NuGet.targets approach.

See NuGet/Home#14349 (comment)

@bdukes bdukes added this to the 10.0.2 milestone Jul 17, 2025
Copy link
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay, much simpler

Copy link
Contributor

@uzmannazari uzmannazari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants