共用方式為


ResolveAssemblyReference.InstalledAssemblySubsetTables Property

Definition

A list of XML files that contain assemblies that are expected to be in the target subset

Format of the file is like:

<FileList Redist="ClientSubset"><File AssemblyName="System" Version="2.0.0.0" PublicKeyToken="b77a5c561934e089" Culture="neutral" ProcessorArchitecture="MSIL" FileVersion="2.0.40824.0" InGAC="true"></File>
    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 missing the "FrameworkDirectory" metadata will be treated as though this metadata is set to the lone (unique) value passed to TargetFrameworkDirectories.

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

Property Value

A list of XML files.

Attributes

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.

Applies to