9 writes to RepositoryRoot
aspire (1)
Commands\McpInitCommand.cs (1)
87RepositoryRoot = workspaceRoot
Aspire.Cli.Tests (8)
Agents\AgentEnvironmentDetectorTests.cs (5)
19RepositoryRoot = workspace.WorkspaceRoot, 36RepositoryRoot = workspace.WorkspaceRoot, 60RepositoryRoot = workspace.WorkspaceRoot, 89RepositoryRoot = workspace.WorkspaceRoot, 108RepositoryRoot = workspace.WorkspaceRoot,
Agents\CommonAgentApplicatorsTests.cs (1)
86RepositoryRoot = workingDirectory
Agents\CopilotCliAgentEnvironmentScannerTests.cs (1)
191RepositoryRoot = workingDirectory
Agents\VsCodeAgentEnvironmentScannerTests.cs (1)
306RepositoryRoot = repositoryRoot
22 references to RepositoryRoot
aspire (21)
Agents\ClaudeCode\ClaudeCodeAgentEnvironmentScanner.cs (10)
44_logger.LogDebug("Workspace root: {RepositoryRoot}", context.RepositoryRoot.FullName); 48var claudeCodeFolder = FindClaudeCodeFolder(context.WorkingDirectory, context.RepositoryRoot); 53var workspaceRoot = claudeCodeFolder.Parent ?? context.RepositoryRoot; 83CommonAgentApplicators.TryAddAgentInstructionsApplicator(context, context.RepositoryRoot); 96if (!HasAspireServerConfigured(context.RepositoryRoot)) 98_logger.LogDebug("Adding Claude Code applicator for .mcp.json at workspace root: {WorkspaceRoot}", context.RepositoryRoot.FullName); 99context.AddApplicator(CreateAspireApplicator(context.RepositoryRoot)); 107if (!HasPlaywrightServerConfigured(context.RepositoryRoot)) 112ct => ApplyPlaywrightMcpConfigurationAsync(context.RepositoryRoot, ct)); 120CommonAgentApplicators.TryAddAgentInstructionsApplicator(context, context.RepositoryRoot);
Agents\CopilotCli\CopilotCliAgentEnvironmentScanner.cs (2)
82CommonAgentApplicators.TryAddAgentInstructionsApplicator(context, context.RepositoryRoot); 126CommonAgentApplicators.TryAddAgentInstructionsApplicator(context, context.RepositoryRoot);
Agents\OpenCode\OpenCodeAgentEnvironmentScanner.cs (4)
39_logger.LogDebug("Workspace root: {RepositoryRoot}", context.RepositoryRoot.FullName); 42var configDirectory = context.RepositoryRoot; 77CommonAgentApplicators.TryAddAgentInstructionsApplicator(context, context.RepositoryRoot); 98CommonAgentApplicators.TryAddAgentInstructionsApplicator(context, context.RepositoryRoot);
Agents\VsCode\VsCodeAgentEnvironmentScanner.cs (5)
44_logger.LogDebug("Workspace root: {RepositoryRoot}", context.RepositoryRoot.FullName); 47var vsCodeFolder = FindVsCodeFolder(context.WorkingDirectory, context.RepositoryRoot); 79CommonAgentApplicators.TryAddAgentInstructionsApplicator(context, context.RepositoryRoot); 86var targetVsCodeFolder = new DirectoryInfo(Path.Combine(context.RepositoryRoot.FullName, VsCodeFolderName)); 96CommonAgentApplicators.TryAddAgentInstructionsApplicator(context, context.RepositoryRoot);
Aspire.Cli.Tests (1)
Agents\AgentEnvironmentDetectorTests.cs (1)
43Assert.Equal(workspace.WorkspaceRoot.FullName, scanner.ScanContext?.RepositoryRoot.FullName);