RegisterAssembly.TypeLibFiles Property
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets or sets the type library to generate from the specified assembly.
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
<OutputAttribute> _
Public Property TypeLibFiles As ITaskItem()
[OutputAttribute]
public ITaskItem[] TypeLibFiles { get; set; }
[OutputAttribute]
public:
property array<ITaskItem^>^ TypeLibFiles {
array<ITaskItem^>^ get ();
void set (array<ITaskItem^>^ value);
}
[<OutputAttribute>]
member TypeLibFiles : ITaskItem[] with get, set
function get TypeLibFiles () : ITaskItem[]
function set TypeLibFiles (value : ITaskItem[])
Property Value
Type: array<Microsoft.Build.Framework.ITaskItem[]
The type library to generate from the specified assembly.
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.