AllowDuplicateTypes Property

MSBuild

Gets or sets the names of public types to be renamed when they are duplicates.


Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Property AllowDuplicateTypes As ITaskItem[]
C#
public ITaskItem[] AllowDuplicateTypes { get; set; }
C++
public property ITaskItem[] AllowDuplicateTypes sealed  {
    array<ITaskItem>^ get();
    void set(array<ITaskItem>^ value);
}
J#
/** property */
public ITaskItem[] get_AllowDuplicateTypes();

/** property */
public void set_AllowDuplicateTypes(ITaskItem[] value);
JScript
public function get AllowDuplicateTypes() : ITaskItem[]

public function set AllowDuplicateTypes(value : ITaskItem[]);

Remarks

Set to an empty item group to allow all public types to be renamed.

Don't provide this parameter if no duplicates of public types are allowed.

Corresponds to command line option "/allowDup".

The default value is null.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.