Summary
Sets the version.
- Namespace
- Cake
.Common .Tools .MSBuild - Containing Type
- M
S Build Settings Extensions
Syntax
public static MSBuildSettings SetVersion(this MSBuildSettings settings, string version)
Remarks
Version will override VersionPrefix and VersionSuffix if set.
This may also override version settings during packaging.
Parameters
| Name | Type | Description |
|---|---|---|
| settings | MSBuildSettings | The settings. |
| version | string | The version. |
Return Value
| Type | Description |
|---|---|
| MSBuildSettings | The same MSBuildSettings instance so that multiple calls can be chained. |
