Пример #1
0
        void CreateSolutionWithTwoProjects(string projectName1, string projectName2)
        {
            solutionHelper = new SolutionHelper();
            TestableProject project = solutionHelper.AddProjectToSolutionWithFileName(projectName1, @"d:\projects\" + projectName1 + ".csproj");

            solutionHelper.AddProjectToSolutionWithFileName(projectName2, @"d:\projects\" + projectName2 + ".csproj");
            projects = (Projects)solutionHelper.Solution.Projects;
        }
Пример #2
0
 void AddProjectToSolutionWithFileName(string projectName, string fileName)
 {
     solutionHelper.AddProjectToSolutionWithFileName(projectName, fileName);
 }
Пример #3
0
 void AddProjectToSolution(string fileName)
 {
     solutionHelper.AddProjectToSolutionWithFileName("MyProject", fileName);
 }
        void AddStartupProject(string name, string fileName)
        {
            TestableProject project = solutionHelper.AddProjectToSolutionWithFileName(name, fileName);

            solutionHelper.SetStartupProject(project);
        }
        void AddStartupProject(string projectFileName)
        {
            TestableProject project = solutionHelper.AddProjectToSolutionWithFileName("TestProject", projectFileName);

            solutionHelper.SetStartupProject(project);
        }