コード例 #1
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);
 }
コード例 #2
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);
 }
コード例 #3
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);
 }