private static bool ExistsInSolution(VsSolution solution, string targetPath) { return((from p in solution.Projects where PathUtilityFactory.Instance.PathsEquals(p.AbsolutePath, targetPath) select p).Any()); }
private static bool ExistsInSolution(VsSolution solution, string targetPath) { return (from p in solution.Projects where PathUtility.NormalizePath(p.AbsolutePath).Equals(PathUtility.NormalizePath(targetPath)) select p).Any(); }
private static bool ExistsInSolution(VsSolution solution, string targetPath) { return (from p in solution.Projects where PathUtility.PathsEquals(p.AbsolutePath, targetPath) select p).Any(); }
private static bool ExistsInSolution(VsSolution solution, string targetPath) { return((from p in solution.Projects where PathUtility.NormalizePath(p.AbsolutePath).Equals(PathUtility.NormalizePath(targetPath)) select p).Any()); }