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