Condividi tramite


RegisterAssembly.TypeLibFiles Property

Definition

Gets or sets the type library to generate from the specified assembly.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ TypeLibFiles { cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ get(); void set(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ value); };
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem[] TypeLibFiles { get; set; }
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem[] TypeLibFiles { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
[<Microsoft.Build.Framework.Output>]
member this.TypeLibFiles : Microsoft.Build.Framework.ITaskItem[] with get, set
[<Microsoft.Build.Framework.Output>]
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.TypeLibFiles : Microsoft.Build.Framework.ITaskItem[] with get, set
Public Property TypeLibFiles As ITaskItem()

Property Value

The type library to generate from the specified assembly.

Attributes

Remarks

The generated type library contains definitions of the accessible types defined within the assembly. The type library is only generated if one of the following is true:

  • A type library of that name does not exist at that location.

  • A type library exists but it is older than the assembly being passed in.

If the type library is newer than the assembly being passed, a new one will not be created, but the assembly will still be registered.

If this property is specified, it must have the same number of items as the Assemblies property or the task will fail. If no inputs are specified, the task will default to the name of the assembly and change the extension of the item to .tlb.

Applies to