Condividi tramite


GetSDKReferenceFiles.LogReferenceConflictBetweenSDKsAsWarning Property

Gets or sets a flag specifying whether to log conflicts between reference files across different referenced SDKs as messages or warnings. Default is true, they are logged as warnings.

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 LogReferenceConflictBetweenSDKsAsWarning As Boolean
public bool LogReferenceConflictBetweenSDKsAsWarning { get; set; }
public:
property bool LogReferenceConflictBetweenSDKsAsWarning {
    bool get ();
    void set (bool value);
}
member LogReferenceConflictBetweenSDKsAsWarning : bool with get, set
function get LogReferenceConflictBetweenSDKsAsWarning () : boolean 
function set LogReferenceConflictBetweenSDKsAsWarning (value : boolean)

Property Value

Type: System.Boolean
Returns the flag.

.NET Framework Security

See Also

Reference

GetSDKReferenceFiles Class

Microsoft.Build.Tasks Namespace