共用方式為


ResolveAssemblyReference.AllowedAssemblyExtensions Property

Definition

[default=.exe;.dll] These are the assembly extensions that will be considered during references resolution.

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

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

Property Value

String[]

The assembly extensions that will be considered during references resolution.

Attributes

Remarks

The default extensions are .dll and .exe.

Applies to