private static string GetRuntimeInstallDir()
{
// Get mscorlib path
var s = typeof(object).GetTypeInfo().Module.FullyQualifiedName;
// Remove mscorlib.dll from the path
return Directory.GetParent(s).ToString() + "\\";
}