public void GetSpecificCSharpProjectFromDeltaEngineSamplesSolution() { string engineSamplesSolution = SolutionExtensions.GetSamplesSolutionFilePath(); Assert.IsTrue(File.Exists(engineSamplesSolution)); var solutionLoader = new SolutionFileLoader(engineSamplesSolution); ProjectEntry logoAppProject = solutionLoader.GetCSharpProject("LogoApp"); Assert.IsNotNull(logoAppProject); Assert.AreEqual("LogoApp", logoAppProject.Name); }
private void AddCodeProjectsOfSolutionToAvailableProjects(string solutionFilePath) { var solutionLoader = new SolutionFileLoader(solutionFilePath); var availableProjectsInSolution = solutionLoader.GetCSharpProjects(); foreach (ProjectEntry projectEntry in availableProjectsInSolution) { string contentProject = GetContentProject(projectEntry); if (!String.IsNullOrEmpty(contentProject)) { if (!IsProjectAlreadyAddedToDictionary(projectEntry)) { availableCodeProjectsWithContentProjects.Add(projectEntry, contentProject); } } } }
public void LoadProjectEntriesOfDeltaEngineSolution() { SolutionFileLoader solutionLoader = GetLoaderWithLoadedEngineSolution(); Assert.IsNotEmpty(solutionLoader.ProjectEntries); }