Skip to content

Add NuGet lock file and enable locked CI package restore#922

Merged
albertospelta merged 1 commit intomainfrom
alberto/patch-bump
Mar 2, 2026
Merged

Add NuGet lock file and enable locked CI package restore#922
albertospelta merged 1 commit intomainfrom
alberto/patch-bump

Conversation

@albertospelta
Copy link
Member

This pull request introduces package lock file support to the project, ensuring more reliable and repeatable builds by locking dependency versions. It also adds configuration to optimize builds in continuous integration environments, and removes an unused property group from the project file.

Dependency management improvements:

  • Added a new src/packages.lock.json file to lock all NuGet package versions for the project, ensuring consistent restores across environments.
  • Enabled NuGet package restore lock file by setting RestorePackagesWithLockFile to true in Bravo.csproj.

Continuous integration optimizations:

  • Added CI-specific properties to Bravo.csproj (RestoreLockedMode and ContinuousIntegrationBuild) to improve reliability and performance of builds on CI servers.

Project file cleanup:

  • Removed a commented-out property group related to NuGet restore sources from Bravo.csproj to clean up the file.

Added packages.lock.json for deterministic package versions. Updated Bravo.csproj to generate and enforce lock file, and enabled locked mode and CI build settings for Azure DevOps.
@albertospelta albertospelta merged commit 25dfd83 into main Mar 2, 2026
1 check passed
@albertospelta albertospelta deleted the alberto/patch-bump branch March 2, 2026 14:35
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