ResolveAssemblyReference.TargetProcessorArchitecture Property

Definition

The preferred target processor architecture. Used for resolving {GAC} references. Should be like x86, IA64 or AMD64.

This is the order of preference: (1) Assemblies in the GAC that match the supplied ProcessorArchitecture. (2) Assemblies in the GAC that have ProcessorArchitecture=MSIL (3) Assemblies in the GAC that have no ProcessorArchitecture.

If absent, then only consider assemblies in the GAC that have ProcessorArchitecture==MSIL or no ProcessorArchitecture (these are pre-Whidbey assemblies).

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

public:
 property System::String ^ TargetProcessorArchitecture { System::String ^ get(); void set(System::String ^ value); };
public string TargetProcessorArchitecture { get; set; }
public string TargetProcessorArchitecture { [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.TargetProcessorArchitecture : 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.TargetProcessorArchitecture : string with get, set
Public Property TargetProcessorArchitecture As String

Property Value

The preferred target processor architecture used for resolving Global Assembly Cache (GAC) references.

Attributes

Applies to