Aracılığıyla paylaş


RegisterAssembly.CreateCodeBase Property

Definition

Gets or sets a Boolean value that specifies whether the task creates a codebase entry in the registry, which specifies the file path for an assembly that is not installed in the global assembly cache.

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

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

Property Value

true if the task creates a codebase entry in the registry; otherwise, false.

Attributes

Remarks

You should not specify this option if you will subsequently install the assembly that you are registering into the global assembly cache.

Applies to