Summary
Sets the version.
- Namespace
- Cake
.Common .Tools .DotNet .MSBuild - Containing Type
- Dot
Net M S Build Settings Extensions
Syntax
public static DotNetMSBuildSettings SetVersion(this DotNetMSBuildSettings 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 | Dot |
The settings. |
| version | string | The version. |
Return Value
| Type | Description |
|---|---|
| Dot |
The same DotNetMSBuildSettings instance so that multiple calls can be chained. |
