private async Task LoadSolution (string path)
{
await server.StartAsync(Path.GetDirectoryName(path));
var workspace = await server.SendRequest(new WorkspaceInformationRequest() { ExcludeSourceFiles = false });
foreach(var project in workspace.MsBuild.Projects)
{
AddProject(OmniSharpProject.Create(this, project.Path, project));
}
CurrentDirectory = Path.GetDirectoryName(path);
}