ProjectCollection.GetEffectiveToolsVersion(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.