Aracılığıyla paylaş


ProjectCollection.GetEffectiveToolsVersion(String, String) Method

Definition

Figure out what ToolsVersion to use to actually build the project with.

public:
 System::String ^ GetEffectiveToolsVersion(System::String ^ explicitToolsVersion, System::String ^ toolsVersionFromProject);
public string GetEffectiveToolsVersion (string explicitToolsVersion, string toolsVersionFromProject);
member this.GetEffectiveToolsVersion : string * string -> string
Public Function GetEffectiveToolsVersion (explicitToolsVersion As String, toolsVersionFromProject As String) As String

Parameters

explicitToolsVersion
String

The user-specified ToolsVersion (through e.g. /tv: on the command line). May be null

toolsVersionFromProject
String

The ToolsVersion from the project file. May be null

Returns

The ToolsVersion we should use to build this project. Should never be null.

Applies to