ResolveSDKReference Class

Definition

Resolves an SDKReference to a full path on disk

public ref class ResolveSDKReference : Microsoft::Build::Tasks::TaskExtension
public class ResolveSDKReference : Microsoft.Build.Tasks.TaskExtension
type ResolveSDKReference = class
    inherit TaskExtension
Public Class ResolveSDKReference
Inherits TaskExtension
Inheritance
ResolveSDKReference

Constructors

ResolveSDKReference()

Creates a new instance of ResolveSDKReference.

Properties

BuildEngine

The build engine automatically sets this property to allow tasks to call back into it.

(Inherited from Task)
BuildEngine2

The build engine automatically sets this property to allow tasks to call back into it. This is a convenience property so that task authors inheriting from this class do not have to cast the value from IBuildEngine to IBuildEngine2.

(Inherited from Task)
BuildEngine3

Retrieves the IBuildEngine3 version of the build engine interface provided by the host.

(Inherited from Task)
BuildEngine4

Retrieves the IBuildEngine4 version of the build engine interface provided by the host.

(Inherited from Task)
BuildEngine5

Retrieves the IBuildEngine5 version of the build engine interface provided by the host.

(Inherited from Task)
BuildEngine6

Retrieves the IBuildEngine6 version of the build engine interface provided by the host.

(Inherited from Task)
BuildEngine7

Retrieves the IBuildEngine7 version of the build engine interface provided by the host.

(Inherited from Task)
BuildEngine8

Retrieves the IBuildEngine8 version of the build engine interface provided by the host.

(Inherited from Task)
BuildEngine9

Retrieves the IBuildEngine9 version of the build engine interface provided by the host.

(Inherited from Task)
DisallowedSDKDependencies

List of disallowed dependencies passed from the targets file (deprecated) For instance "VCLibs 11" should be disallowed in projects targeting Win 8.1 or higher.

HelpKeywordPrefix

Gets or sets the prefix used to compose help keywords from string resource names. If a task does not have help keywords associated with its messages, it can ignore this property or set it to null. If the prefix is set to an empty string, then string resource names will be used verbatim as help keywords. For an example of how this prefix is used, see the TaskLoggingHelper.LogErrorWithCodeFromResources(string, object[]) method.

(Inherited from Task)
HostObject

The build engine sets this property if the host IDE has associated a host object with this particular task.

(Inherited from Task)
InstalledSDKs

The list of installed SDKs the location of the SDK, the SDKName metadata is the SDKName.

Log

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets an instance of a TaskLoggingHelperExtension class containing task logging methods.

(Inherited from TaskExtension)
LogResolutionErrorsAsWarnings

Should problems resolving SDKs be logged as a warning or an error. If the resolution problem is logged as an error the build will fail. If the resolution problem is logged as a warning we will warn and continue.

Prefer32Bit

The prefer32bit flag used during the build

ProjectName

ProjectName used in warning/error messages

References

Reference may be passed in so their SDKNames can be resolved and then sdkroot paths can be tacked onto the reference so RAR can find the assembly correctly in the sdk location.

ResolvedSDKReferences

Resolved SDK References

RuntimeReferenceOnlySDKDependencies

List of dependencies passed from the targets file that will have the metadata RuntimeReferenceOnly set as true. For instance "VCLibs 11" should have such a metadata set to true in projects targeting Win 8.1 or higher.

SDKReferences

Set of SDK References to resolve to paths on disk

TargetedSDKArchitecture

Architecture of the SDK's we are targeting

TargetedSDKConfiguration

Configuration for SDK's which are resolved

TargetPlatformIdentifier

TargetPlatform used in warning/error messages

TargetPlatformVersion

TargetPlatformVersion property used to filter SDKs

TaskResources

Gets or sets the task's culture-specific resources. Derived classes should register their resources either during construction, or via this property, if they have localized strings.

(Inherited from Task)
WarnOnMissingPlatformVersion

Enables warning when MaxPlatformVersion is not present in the manifest and the ESDK platform version (from its path) is different than the target platform version (from the project)

Methods

Execute()

Execute the task.

Applies to