/// <summary> /// Returns the filename of the dac dll according to the specified parameters /// </summary> public static string GetDacRequestFileName(ClrFlavor flavor, Runtime.Architecture currentArchitecture, Runtime.Architecture targetArchitecture, VersionInfo clrVersion) { if (flavor == ClrFlavor.Native) return targetArchitecture == Runtime.Architecture.Amd64 ? "mrt100dac_winamd64.dll" : "mrt100dac_winx86.dll"; string dacName = flavor == ClrFlavor.CoreCLR ? "mscordaccore" : "mscordacwks"; return string.Format("{0}_{1}_{2}_{3}.{4}.{5}.{6:D2}.dll", dacName, currentArchitecture, targetArchitecture, clrVersion.Major, clrVersion.Minor, clrVersion.Revision, clrVersion.Patch); }
internal ClrInfo(DataTargetImpl dt, ClrFlavor flavor, ModuleInfo module, DacInfo dacInfo, string dacLocation) { Debug.Assert(dacInfo != null); Flavor = flavor; DacInfo = dacInfo; ModuleInfo = module; module.IsRuntime = true; _dataTarget = dt; _dacLocation = dacLocation; }
internal static string GetDacFileName(ClrFlavor flavor, Runtime.Architecture targetArchitecture) { return(flavor == ClrFlavor.Core ? "mscordaccore.dll" : "mscordacwks.dll"); }
/// <summary> /// Returns the file name of the DAC dll according to the specified parameters. /// </summary> public static string GetDacFileName(ClrFlavor flavor) { return(flavor == ClrFlavor.Core ? c_coreDacFileName : c_desktopDacFileName); }
/// <summary> /// Returns the filename of the dac dll according to the specified parameters /// </summary> public static string GetDacRequestFileName(ClrFlavor flavor, Runtime.Architecture currentArchitecture, Runtime.Architecture targetArchitecture, VersionInfo clrVersion) { string dacName = flavor == ClrFlavor.Core ? "mscordaccore" : "mscordacwks"; return(string.Format("{0}_{1}_{2}_{3}.{4}.{5}.{6:D2}.dll", dacName, currentArchitecture, targetArchitecture, clrVersion.Major, clrVersion.Minor, clrVersion.Revision, clrVersion.Patch)); }