public WorkspaceViewModel(ShellViewModel shell, string path)
: base(null, path)
{
var runtime = Kvm.GetRuntime(shell.SelectedRuntime);
_host = new Host(path);
_host.Connected += HostConnected;
_host.Configurations += HostConfigurations;
_host.References += HostReferences;
_host.Start(runtime);
_watcher = new FileSystemWatcher(path);
_watcher.NotifyFilter = NotifyFilters.LastWrite | NotifyFilters.FileName | NotifyFilters.Size | NotifyFilters.DirectoryName | NotifyFilters.LastAccess;
_watcher.Filter = "*.*";
_watcher.Changed += FileChanged;
_workspace = new CustomWorkspace();
}