15 references to WellKnownPaths
Microsoft.Extensions.AI.Templates.Tests (15)
AIChatWebSnapshotTests.cs (1)
81string templateLocation = Path.Combine(WellKnownPaths.TemplateFeedLocation, "Microsoft.Extensions.AI.Templates", "src", "ChatWithCustomData");
McpServerSnapshotTests.cs (1)
67string templateLocation = Path.Combine(WellKnownPaths.TemplateFeedLocation, "Microsoft.Extensions.AI.Templates", "src", "McpServer");
test\ProjectTemplates\Infrastructure\DotNetCommand.cs (1)
12FileName = WellKnownPaths.RepoDotNetExePath;
test\ProjectTemplates\Infrastructure\TemplateExecutionTestClassFixtureBase.cs (7)
37_templateTestOutputPath = Path.Combine(WellKnownPaths.TemplateSandboxOutputRoot, outputFolderName); 56File.Copy(WellKnownPaths.TemplateInstallNuGetConfigPath, installNuGetConfigPath); 60.WithEnvironmentVariable("LOCAL_SHIPPING_PATH", WellKnownPaths.LocalShippingPackagesPath) 61.WithEnvironmentVariable("NUGET_PACKAGES", WellKnownPaths.NuGetPackagesPath) 88File.Copy(WellKnownPaths.TemplateTestNuGetConfigPath, templateNuGetConfigPath); 97.WithEnvironmentVariable("LOCAL_SHIPPING_PATH", WellKnownPaths.LocalShippingPackagesPath) 98.WithEnvironmentVariable("NUGET_PACKAGES", WellKnownPaths.NuGetPackagesPath)
test\ProjectTemplates\Infrastructure\TemplateExecutionTestCollectionFixture.cs (5)
24if (Directory.Exists(WellKnownPaths.TemplateSandboxOutputRoot)) 26Directory.Delete(WellKnownPaths.TemplateSandboxOutputRoot, recursive: true); 30Directory.CreateDirectory(WellKnownPaths.TemplateSandboxOutputRoot); 32foreach (var filePath in Directory.EnumerateFiles(WellKnownPaths.TemplateSandboxSource)) 35var destFilePath = Path.Combine(WellKnownPaths.TemplateSandboxOutputRoot, fileName);