Locked vs. Unlocked NuGet Restore: Choosing Determinism for CI/CD Pipelines
Goal Establish a repeatable .NET dependency resolution strategy that behaves identically across developer machines and CI agents. Constraints and Uncertainty The .NET SDK supports dotnet restore --locked-mode , which reads a committed packages.lock.json and fails if the resolved graph differs. This prevents silent transitive-version drift but introduces fric