9 references to TestRootPath
Aspire.Templates.Tests (9)
NewUpAndBuildSupportProjectTemplatesTests.cs (1)
25
var topLevelDir = Path.Combine(BuildEnvironment.
TestRootPath
, id + "_root");
tests\Shared\TemplatesTesting\AspireProject.cs (1)
97
rootDir = projectDir = Path.Combine(BuildEnvironment.
TestRootPath
, id);
tests\Shared\TemplatesTesting\BuildEnvironment.cs (7)
203
Console.WriteLine($"*** Using path for projects: {
TestRootPath
}");
205
Directory.CreateDirectory(
TestRootPath
);
236
if (!Directory.Exists(
TestRootPath
))
243
Directory.Delete(
TestRootPath
, recursive: true);
249
Console.WriteLine($"\tFailed to delete {
TestRootPath
} . Deleting subdirectories.");
250
foreach (var dir in Directory.GetDirectories(
TestRootPath
))
266
throw new InvalidOperationException($"Error deleting '{
TestRootPath
}'.", ex);