Udostępnij za pośrednictwem


Csc.UseHostCompilerIfAvailable Property

Definition

Gets or sets a Boolean value that indicates whether the Csc task should use the in-process compiler object, if available.

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

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

Property Value

true if the Csc task should use the in-process compiler object, if available; otherwise, false.

Attributes

Remarks

Used only by Visual Studio.

Applies to