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)

Syntax

'Declaration
Public Property LogResolutionErrorsAsWarnings As Boolean
public bool LogResolutionErrorsAsWarnings { get; set; }
public:
property bool LogResolutionErrorsAsWarnings {
    bool get ();
    void set (bool value);
}
member LogResolutionErrorsAsWarnings : bool with get, set
function get LogResolutionErrorsAsWarnings () : boolean 
function set LogResolutionErrorsAsWarnings (value : boolean)

Property Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

ResolveSDKReference Class

Microsoft.Build.Tasks Namespace