SdkReference Class

Definition

Represents a software development kit (SDK) that is referenced in a <Project /> or <Import /> element.

public ref class SdkReference sealed : IEquatable<Microsoft::Build::Framework::SdkReference ^>
public sealed class SdkReference : IEquatable<Microsoft.Build.Framework.SdkReference>
type SdkReference = class
    interface IEquatable<SdkReference>
Public NotInheritable Class SdkReference
Implements IEquatable(Of SdkReference)
Inheritance
SdkReference
Implements

Constructors

SdkReference(String, String, String)

Initializes a new instance of the SdkReference class.

Properties

MinimumVersion

Gets the minimum version required. This value is specified by the project to indicate the minimum version of the SDK that is required in order to build. This is useful in order to produce an error message if a name match can be found but no acceptable version could be resolved.

Name

Gets the name of the SDK.

Version

Gets the version of the SDK.

Methods

Equals(Object)
Equals(SdkReference)
GetHashCode()
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()
TryParse(String, SdkReference)

Attempts to parse the specified string as a SdkReference. The expected format is: SDK, SDK/Version, or SDK/min=MinimumVersion Values are not required to specify a version or MinimumVersion.

Applies to