Static Public Member Functions | |
static string | GetEnvDir () |
static IDictionary < string, string > | GetFrameworkSDKs () |
static string | GetPathToFramework () |
static string | GetPathToFrameworkSDK () |
static string | GetPathToFrameworkSDKTool (string toolFileName) |
static string | GetPathToFrameworkTool (string toolFileName) |
static string | GetPathToSDK20 () |
static string | GetPlatformSDK () |
static string[] | GetPlatformSDKs () |
static string | GetVCBinPath () |
static string | GetVCPath () |
static string | GetVSPath () |
static void | Report (System.IO.TextWriter dest) |
Properties | |
static bool | IsRelevant [get] |
static string wx.Build.MS.ToolProperties.GetEnvDir | ( | ) | [static] |
Returns the directory of the Visual Studio development environment. This is GetVSPath() + "\\Common7\\IDE"
.
static IDictionary<string, string> wx.Build.MS.ToolProperties.GetFrameworkSDKs | ( | ) | [static] |
This is a dictionary of the installed framework SDKs. These are the entries under HLM
.X. Typical result is a dictionary where "v2.0" is a key and a path like "C:\Programme\Microsoft.NET\SDK\v2.0\"
is the value.
static string wx.Build.MS.ToolProperties.GetPathToFramework | ( | ) | [static] |
Reads the path to the .NET framework from the registry entries. Typical result is "c:\WINDOWS\Microsoft.NET\Framework\"
. The result is null
if the framework is not installed (e.g. this runs on mono).
static string wx.Build.MS.ToolProperties.GetPathToFrameworkSDK | ( | ) | [static] |
Returns a path to a framework using FrameworkSDKs
or PathToSDK20()
of highest version or null
.
static string wx.Build.MS.ToolProperties.GetPathToFrameworkSDKTool | ( | string | toolFileName | ) | [static] |
Searches installations of the .NET SDK for a tool named toolFileName
(e.g. "sn.exe"
). Result is null
if the tool could not be found.
static string wx.Build.MS.ToolProperties.GetPathToFrameworkTool | ( | string | toolFileName | ) | [static] |
Searches installations of the .NET framework for a tool named toolFileName
(e.g. "al.exe"
). Result is null
if the tool could not be found.
static string wx.Build.MS.ToolProperties.GetPathToSDK20 | ( | ) | [static] |
Reads the path to the .NET 2.0 SDK base. Typical result are "C:\Programme\Microsoft.NET\SDK\v2.0\"
or "C:\Programme\Microsoft Visual Studio 8\SDK\".
static string wx.Build.MS.ToolProperties.GetPlatformSDK | ( | ) | [static] |
Returns path to one of the installed SDKs (native code compilation). These are the entries under HLM/SOFTWARE/Microsoft/MicrosoftSDK/InstalledSDKs/*/InstallationFolder
. Typical result is "C:/Programme/Microsoft SDKs/Windows/v6.1/"
.
This will raise an exception if this is not able to find registry entries of a platform SDK installation.
static string [] wx.Build.MS.ToolProperties.GetPlatformSDKs | ( | ) | [static] |
Returns paths to the installed SDKs (native code compilation). These are the entries under HLM
\*. Typical results are ["C:\Programme\Microsoft SDKs\Windows\v6.0A\", "C:\Programme\Microsoft SDKs\Windows\v6.1\"].
static string wx.Build.MS.ToolProperties.GetVCBinPath | ( | ) | [static] |
Get path to the VisualStudio VC path containing compiler and linker. This is subdir bin
of the GetVCPath() or empty if GetVCPath failed.
static string wx.Build.MS.ToolProperties.GetVCPath | ( | ) | [static] |
Returns the path to the VisualStudio VC files. This looks in the registry for HLM/SOFTWARE/Microsoft/VisualStudio/SxS/8.0
or later entries. Typical result is C:/Programme/Microsoft Visual Studio 8/VC/
The result may be empty if we didn't find a path. In that case we trust the PATH variable.
static string wx.Build.MS.ToolProperties.GetVSPath | ( | ) | [static] |
Returns the path to the VisualStudio files. This looks in the registry for HLM/SOFTWARE/Microsoft/VisualStudio/SxS/8.0
or later entries. Typical result is C:/Programme/Microsoft Visual Studio 8/
.
The result may be empty if we didn't find a path. In that case we trust the PATH variable.
static void wx.Build.MS.ToolProperties.Report | ( | System.IO.TextWriter | dest | ) | [static] |
Reports all findings on the installed Microsoft .NET framework and SDKs on the destination destination.
dest | The destination of the report. |
bool wx.Build.MS.ToolProperties.IsRelevant [static, get] |
True if this is relevant. Do not use this class if false.