共用方式為


ResolveAssemblyReference.FullFrameworkAssemblyTables Property

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

Gets or sets a list of items representing XML files that contain the full framework for the profile.

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

Property Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
Returns a list of items representing XML files that contain the full framework for the profile.

Remarks

Normally nothing is passed in here, this is for the cases where the location of the xml file for the full framework is not under a RedistList folder.

Format of the file is like: etc.

<FileList Redist="MatchingRedistListName" >
  <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 must specify the "FrameworkDirectory" metadata to associate an redist list with a particular framework directory. If the association is not made an error will be logged. The reason is, The logic in RAR assumes if a FrameworkDirectory is not set it will use the target framework directory.

.NET Framework Security

See Also

Reference

ResolveAssemblyReference Class

Microsoft.Build.Tasks Namespace