共用方式為


GetSDKReferenceFiles.LogRedistConflictBetweenSDKsAsWarning Property

Gets or sets a flag specifying whether to log conflicts between redist 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 LogRedistConflictBetweenSDKsAsWarning As Boolean
public bool LogRedistConflictBetweenSDKsAsWarning { get; set; }
public:
property bool LogRedistConflictBetweenSDKsAsWarning {
    bool get ();
    void set (bool value);
}
member LogRedistConflictBetweenSDKsAsWarning : bool with get, set
function get LogRedistConflictBetweenSDKsAsWarning () : boolean 
function set LogRedistConflictBetweenSDKsAsWarning (value : boolean)

Property Value

Type: System.Boolean
Returns the flag.

.NET Framework Security

See Also

Reference

GetSDKReferenceFiles Class

Microsoft.Build.Tasks Namespace