Partilhar via


GetSDKReferenceFiles.LogReferenceConflictWithinSDKAsWarning Property

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

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

Property Value

Type: System.Boolean
Returns the flag.

.NET Framework Security

See Also

Reference

GetSDKReferenceFiles Class

Microsoft.Build.Tasks Namespace