Condividi tramite


ResolveAssemblyReference.InstalledAssemblySubsetTables Property

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

An ITaskItem that represents a list of XML files that contain assemblies that are expected to be in the target subset.

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 InstalledAssemblySubsetTables As ITaskItem()
public ITaskItem[] InstalledAssemblySubsetTables { get; set; }
public:
property array<ITaskItem^>^ InstalledAssemblySubsetTables {
    array<ITaskItem^>^ get ();
    void set (array<ITaskItem^>^ value);
}
member InstalledAssemblySubsetTables : ITaskItem[] with get, set
function get InstalledAssemblySubsetTables () : ITaskItem[]
function set InstalledAssemblySubsetTables (value : ITaskItem[])

Property Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
An ITaskItem list of XML files.

Remarks

This is the format of the file:

<FileList Redist="ClientSubset" >
    <File AssemblyName="System" Version="2.0.0.0" 
      PublicKeyToken="b77a5c561934e089" Culture="neutral" 
      ProcessorArchitecture="MSIL" FileVersion="2.0.40824.0" 
      InGAC="true" />
    etc.
</FileList>

Items in this list may optionally specify the "FrameworkDirectory" metadata to associate an InstalledAssemblySubsetTable with a particular framework directory. If there is only a single TargetFrameworkDirectories element, then any items in this list that do not have the "FrameworkDirectory" metadata will be treated as though the metadata is set to the lone (unique) value passed to TargetFrameworkDirectories.

.NET Framework Security

See Also

Reference

ResolveAssemblyReference Class

Microsoft.Build.Tasks Namespace