13 references to Path
Aspire.Hosting.CodeGeneration.Go.Tests (13)
GoScaffoldTests.cs (12)
120TargetPath = workspace.Path, 148File.WriteAllText(Path.Combine(workspace.Path, name), content); 151var result = _languageSupport.Detect(workspace.Path); 163File.WriteAllText(Path.Combine(workspace.Path, "apphost.go"), "// marker"); 165var result = _languageSupport.Detect(workspace.Path); 175File.WriteAllText(Path.Combine(workspace.Path, "apphost.ts"), "// typescript"); 176File.WriteAllText(Path.Combine(workspace.Path, "go.mod"), "module apphost"); 178var result = _languageSupport.Detect(workspace.Path); 197WriteGoFile(workspace.Path, Path.Combine("scaffold", "apphost.go"), Scaffold(workspace)["apphost.go"]); 206WriteGoFile(workspace.Path, Path.Combine("go-starter", Path.GetRelativePath(starterRoot, starterFile)), File.ReadAllText(starterFile)); 209var gofmtOutput = await RunGofmtAsync(workspace.Path); 220TargetPath = workspace.Path,
tests\Shared\TemporaryWorkspace.cs (1)
218var aspireDir = IOPath.Combine(workspace.Path, ".aspire");