共用方式為


ResolveAssemblyReference.TargetedRuntimeVersion Property

Definition

What is the runtime we are targeting, is it 2.0.57027 or anotherone, It can have a v or not prefixed onto it.

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

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

Property Value

The name of the runtime being targeted. A "v" may be prefixed to the name.

Attributes

Applies to