Archives
-
Post to self: getting the directory where the CLR is installed in PowerShell
[System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()
will return a path like: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\
[System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()
will return a path like: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\