SdkResolverContext Class

Definition

Context used by an SdkResolver to resolve an SDK.

C#
public abstract class SdkResolverContext
Inheritance
SdkResolverContext

Constructors

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

Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17