ResolveSDKReference.LogResolutionErrorsAsWarnings Property


Specifies whether problems resolving SDKs are logged as warnings or errors.

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.

MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

public bool LogResolutionErrorsAsWarnings { get; set; }

Property Value

Type: System.Boolean

Returns Boolean.

Return to top