1 write to _workspacePath
Microsoft.VisualStudioCode.Razor.IntegrationTests (1)
Services\WorkspaceService.cs (1)
30_workspacePath = Path.Combine(Path.GetTempPath(), $"vscode-razor-test-{Guid.NewGuid():N}");
9 references to _workspacePath
Microsoft.VisualStudioCode.Razor.IntegrationTests (9)
Services\WorkspaceService.cs (9)
18public string WorkspacePath => _workspacePath ?? throw new InvalidOperationException("Workspace not created. Call CreateAsync first."); 23public string Name => Path.GetFileName(_workspacePath) ?? throw new InvalidOperationException("Workspace not created."); 31Directory.CreateDirectory(_workspacePath); 33TestServices.Logger.Log($"Creating test workspace at: {_workspacePath}"); 42WorkingDirectory = _workspacePath, 72WorkingDirectory = _workspacePath, 100if (_workspacePath != null && Directory.Exists(_workspacePath)) 104Directory.Delete(_workspacePath, recursive: true);