DotNetMSBuildSettingsExtensions.

SetVersion(DotNetMSBuildSettings, string) Method

Summary

Sets the version.

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 DotNetMSBuildSettings The settings.
version string The version.

Return Value

Type Description
DotNetMSBuildSettings The same DotNetMSBuildSettings instance so that multiple calls can be chained.