public VisualStudioInstance(SolutionFile solution) {
            _solution = solution;
            _app = new VisualStudioApp();
            Project = _app.OpenProject(solution.Filename);

            ThreadHelper.Generic.Invoke(Keyboard.Reset);
            _solutionExplorer = _app.OpenSolutionExplorer();
            SelectSolutionNode();
        }
예제 #2
0
 /// <summary>
 /// Helper function which generates the project and solution with just this
 /// project in the solution.
 /// </summary>
 public SolutionFile Generate()
 {
     return(SolutionFile.Generate(_name, this));
 }