Exemplo n.º 1
0
        public VisualStudioInstance(SolutionFile solution, VisualStudioApp app)
        {
            _solution = solution;
            _app      = app;
            Project   = _app.OpenProject(solution.Filename);

            ThreadHelper.JoinableTaskFactory.Run(async() => {
                await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();
                Keyboard.Reset();
            });

            _solutionExplorer = _app.OpenSolutionExplorer();
            SelectSolutionNode();
        }