共用方式為


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.

Applies to