DotNetCoreMSBuildSettingsExtensions.

SetVersion(DotNetCoreMSBuildSettings, string) Method

Summary

Sets the version.

Syntax

public static DotNetCoreMSBuildSettings SetVersion(this DotNetCoreMSBuildSettings 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 DotNetCoreMSBuildSettings The settings.
version string The version.

Return Value

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