mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 01:37:24 +00:00
945acf6c38
fix(nuget): update lock files when Directory.Build.props is changed Directory.Build.props is a standard MSBuild import file that can contain PackageReference elements. When Renovate updates packages in this file, lock file regeneration was skipped because updateArtifacts only handled .csproj/.vbproj/.fsproj, Directory.Packages.props/Packages.props, and global.json. This extends the existing logic to treat Directory.Build.props the same way as central management files — all project files under its parent directory are restored to regenerate their lock files. Also renames the isCentralManagement parameter to isPropsFile for clarity, since it now covers both central management and Directory.Build.props files. Relates to #15696, #8010