예제 #1
0
    void GuessStartupProjects(string solutionFilePath)
    {
        var startupProjectGuids = new StartProjectFinder()
                                  .GetStartProjects(solutionFilePath)
                                  .ToList();
        var startProjectSuoCreator = new StartProjectSuoCreator();

        startProjectSuoCreator.CreateForSolutionFile(solutionFilePath, startupProjectGuids);
    }
예제 #2
0
    public void Simple()
    {
        var solutionFile        = Path.GetFullPath("../../../SampleSolution/SampleSolution.sln");
        var startupProjectGuids = new StartProjectFinder()
                                  .GetStartProjects(solutionFile)
                                  .ToList();
        var startProjectSuoCreator = new StartProjectSuoCreator();

        startProjectSuoCreator.CreateForSolutionFile(solutionFile, startupProjectGuids);
    }
예제 #3
0
    void PassGuids(string solutionFilePath)
    {
        var startupProjectGuids = new List <string>
        {
            "11111111-1111-1111-1111-111111111111",
            "22222222-2222-2222-2222-222222222222"
        };
        var startProjectSuoCreator = new StartProjectSuoCreator();

        startProjectSuoCreator.CreateForSolutionFile(solutionFilePath, startupProjectGuids);
    }
예제 #4
0
    public void SetStartupProjectsForSample2015()
    {
        var solutionFilePath    = Path.GetFullPath("../../../SampleSolution/SampleSolution.sln");
        var startupProjectGuids = new List <string>
        {
            "11111111-1111-1111-1111-111111111111",
            "22222222-2222-2222-2222-222222222222"
        };
        var startProjectSuoCreator = new StartProjectSuoCreator();

        startProjectSuoCreator.CreateForSolutionFile(solutionFilePath, startupProjectGuids, VisualStudioVersions.Vs2015);
    }
예제 #5
0
    public void SetStartupProjectsForSample()
    {
        var solutionFile        = Path.GetFullPath("../../../SampleSolution/SampleSolution.sln");
        var startupProjectGuids = new List <string>
        {
            "11111111-1111-1111-1111-111111111111",
            "22222222-2222-2222-2222-222222222222"
        };
        var startProjectSuoCreator = new StartProjectSuoCreator();

        startProjectSuoCreator.CreateForSolutionFile(solutionFile, startupProjectGuids);
    }