This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Vagrant.
Summary
Sets the version or version constraint to use when downloading the box
- Assembly
- Cake
.Vagrant .dll - Namespace
- Cake
.Vagrant .Settings - Containing Type
- Vagrant
Box Add Settings Extensions
Syntax
public static VagrantBoxAddSettings ConstrainVersion(this VagrantBoxAddSettings settings, string version)
Parameters
Name | Type | Description |
---|---|---|
settings | Vagrant |
The settings |
version | string | A version constraint to use (see Version ) |
Return Value
Type | Description |
---|---|
Vagrant |
The updated settings object |