public static bool xsltcExeFound() { try { // Verify xsltc.exe is available XmlCoreTest.Common.XsltVerificationLibrary.SearchPath("xsltc.exe"); } catch (FileNotFoundException) { return false; } return true; }