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