Bagikan melalui


GenerateResource.NeverLockTypeAssemblies Property

Definition

(default = false) When true, a new AppDomain is always created to evaluate the .resx files. When false, a new AppDomain is created only when it looks like a user's assembly is referenced by the .resx.

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

public:
 property bool NeverLockTypeAssemblies { bool get(); void set(bool value); };
public bool NeverLockTypeAssemblies { get; set; }
public bool NeverLockTypeAssemblies { [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.NeverLockTypeAssemblies : bool 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.NeverLockTypeAssemblies : bool with get, set
Public Property NeverLockTypeAssemblies As Boolean

Property Value

true if the GenerateResource task should create a new AppDomain to evaluate the resources (.resx) files; false if the GenerateResource task should create a new AppDomain only when the resources (.resx) files reference a user's assembly.

Attributes

Remarks

The default value is false.

Applies to