Bagikan melalui


ResolveAssemblyReference.InstalledAssemblyTables Property

Definition

A list of XML files that contain assemblies that are expected to be installed on the target machine.

Format of the file is like:

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

When present, assemblies from this list will be candidates to automatically "unify" from prior versions up to the version listed in the XML. Also, assemblies with InGAC='true' will be considered prerequisites and will be CopyLocal='false' unless explicitly overridden. Items in this list may optionally specify the "FrameworkDirectory" metadata to associate an InstalledAssemblyTable with a particular framework directory. However, this setting will be ignored unless the Redist name begins with "Microsoft-Windows-CLRCoreComp". 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 ^> ^ InstalledAssemblyTables { cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ get(); void set(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ value); };
public:
 property cli::array <System::String ^> ^ InstalledAssemblyTables { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public Microsoft.Build.Framework.ITaskItem[] InstalledAssemblyTables { get; set; }
public string[] InstalledAssemblyTables { get; set; }
public Microsoft.Build.Framework.ITaskItem[] InstalledAssemblyTables { [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; }
member this.InstalledAssemblyTables : Microsoft.Build.Framework.ITaskItem[] with get, set
member this.InstalledAssemblyTables : string[] with get, set
[<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.InstalledAssemblyTables : Microsoft.Build.Framework.ITaskItem[] with get, set
Public Property InstalledAssemblyTables As ITaskItem()
Public Property InstalledAssemblyTables As String()

Property Value

String[]

A list of XML files that contain assemblies that are expected to be installed on the target machine.

Attributes

Applies to