public static bool IsValidDMDInstallForVersion(int majorVersion, string path) { bool isValid = false; CompilerInstallInfo installInfo = LocalCompiler.AddPath(path); if (installInfo != null) { isValid = (installInfo.VersionInfo.Major == majorVersion); } return(isValid); }
private static void Preload() { try { LocalCompiler.Refresh(); DigitalMars.PreloadFromHtmlList(fileListLocation); DigitalMars.Preload(); LocalCompiler.Preload(); } catch (ThreadAbortException) { //do nothing now - just return } catch (Exception) { //do nothing now - just return } }
public static void Refresh() { LocalCompiler.Refresh(); }