SdkReference Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Sdk |
Initializes a new instance of the SdkReference class. |
Minimum |
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. |
Equals(Object) | Determines whether the specified object is equal to the current object. |
Equals(Sdk |
Indicates whether the current object is equal to another object of the same type. |
Get |
Serves as the default hash function. |
To |
Returns a string that represents the current object. |
Try |
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. |
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
MSBuild | 15, 16, 17 |
MSBuild (.NET Core) | 15, 16, 17 |