Add NuGet lock file and enable locked CI package restore#922
Merged
albertospelta merged 1 commit intomainfrom Mar 2, 2026
Merged
Add NuGet lock file and enable locked CI package restore#922albertospelta merged 1 commit intomainfrom
albertospelta merged 1 commit intomainfrom
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
src/packages.lock.jsonfile to lock all NuGet package versions for the project, ensuring consistent restores across environments.RestorePackagesWithLockFiletotrueinBravo.csproj.Continuous integration optimizations:
Bravo.csproj(RestoreLockedModeandContinuousIntegrationBuild) to improve reliability and performance of builds on CI servers.Project file cleanup:
Bravo.csprojto clean up the file.