Share via


ProjectTargetInstance.KeepDuplicateOutputs Property

Gets an unevaluated condition which is used to delete duplicate outputs from this target.

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.Execution
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public ReadOnly Property KeepDuplicateOutputs As String
public string KeepDuplicateOutputs { get; }
public:
property String^ KeepDuplicateOutputs {
    String^ get ();
}
member KeepDuplicateOutputs : string with get
function get KeepDuplicateOutputs () : String

Property Value

Type: System.String
Returns an unevaluated condition which is used to delete duplicate outputs from this target. Returns an empty string if there is no condition.

.NET Framework Security

See Also

Reference

ProjectTargetInstance Class

Microsoft.Build.Execution Namespace