Click or drag to resize
VersionSpecParseNuGet Method
Parses a string with a version spec in NuGet format. See http://docs.nuget.org/docs/reference/versioning

Namespace: semver.tools
Assembly: semver.tools (in semver.tools.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static IVersionSpec ParseNuGet(
	string s
)

Parameters

s
Type: SystemString
String to parse.

Return Value

Type: IVersionSpec
The version spec.
Exceptions
ExceptionCondition
ArgumentException Throws an exception if the string does not contain a valid version spec in NuGet format.
See Also