Skip to content

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

Merged
mitchelsellers merged 1 commit intodnnsoftware:developfrom
bdukes:restore-nuget-via-msbuild
Jul 22, 2025
Merged

Use MSBuild instead of nuget.exe to restore packages#6625
mitchelsellers merged 1 commit intodnnsoftware:developfrom
bdukes:restore-nuget-via-msbuild

Conversation

@bdukes
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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!

@mitchelsellers mitchelsellers merged commit 7a44029 into dnnsoftware:develop Jul 22, 2025
3 checks passed
@mitchelsellers mitchelsellers deleted the restore-nuget-via-msbuild branch July 22, 2025 19:02
@valadas valadas modified the milestones: 10.0.2, 10.1.0 Jul 30, 2025
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.

4 participants