SdkResolverContext Class

Definition

Context used by an SdkResolver to resolve an SDK.

public ref class SdkResolverContext abstract
public abstract class SdkResolverContext
type SdkResolverContext = class
Public MustInherit Class SdkResolverContext
Inheritance
SdkResolverContext

Constructors

SdkResolverContext()

Properties

Interactive

Gets a value indicating if the resolver is allowed to be interactive.

IsRunningInVisualStudio

Gets a value indicating if the resolver is running in Visual Studio.

Logger

Logger to log real-time messages back to MSBuild.

MSBuildVersion

Version of MSBuild currently running.

ProjectFilePath

Path to the project file being built.

SolutionFilePath

Path to the solution file being built, if known. May be null.

State

Gets or sets any custom state for current build. This allows resolvers to maintain state between resolutions. This property is not thread-safe.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to