Summary
Gets or sets a value indicating whether to not allow updating project lock file.
- Namespace
- Cake
.Common .Tools .DotNet .Restore - Containing Type
- Dot
Net Restore Settings
Syntax
public bool LockedMode { get; set; }
Remarks
When set to true, restore will fail if the lock file is out of sync.
Useful for CI builds when you do not want the build to continue if the package closure has changed than what is present in the lock file.
Supported by .NET SDK version 2.1.500 and above.
Value
Type | Description |
---|---|
bool |