Static graph restore doesn't restore packages.config only solution #13109
Labels
Area:RestoreStaticGraph
Issues related to the Static Graph restore
Functionality:Restore
Priority:2
Issues for the current backlog.
Type:Bug
Milestone
NuGet Product Used
MSBuild.exe
Product Version
all
Worked before?
No response
Impact
None
Repro Steps & Context
Have a solution with only packages.config projects.
msbuild -t:restore -p:RestorePackagesConfig=true
will successfully restore the packages.config packages, butmsbuild -t:restore -pRestorePackagesConfig=true -p:RestoreUseStaticGraphEvaluation=true
will not.staticRestorePC.zip
I think it's caused by NuGet/NuGet.Client#3116edit: it was notPreviously, MSBuild's static graph API could have evaluated the MSBuild script, but since that PR, a target needs to be executed to populate theRestoreProjectStyle
MSBuild property.Verbose Logs
No response
The text was updated successfully, but these errors were encountered: