MSBuildSettingsExtensions.

SetVersion(MSBuildSettings, string) Method

Summary

Sets the version.

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.