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);
		}
Пример #2
0
        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);
        }
Пример #3
0
        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);
                    }
                }
            }
        }
Пример #4
0
        public void LoadProjectEntriesOfDeltaEngineSolution()
        {
            SolutionFileLoader solutionLoader = GetLoaderWithLoadedEngineSolution();

            Assert.IsNotEmpty(solutionLoader.ProjectEntries);
        }