1 write to _tempDirectory
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
WebApplicationFactorySlnxTests.cs (1)
20
_tempDirectory
= Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString("N")[..8]);
6 references to _tempDirectory
Microsoft.AspNetCore.Mvc.FunctionalTests (6)
WebApplicationFactorySlnxTests.cs (6)
21
_contentDirectory = Path.Combine(
_tempDirectory
, "BasicWebSite");
23
Directory.CreateDirectory(
_tempDirectory
);
37
var slnxFile = Path.Combine(
_tempDirectory
, "TestSolution.slnx");
52
builder.UseSolutionRelativeContentRoot("BasicWebSite",
_tempDirectory
, "TestSolution.slnx");
69
if (Directory.Exists(
_tempDirectory
))
71
Directory.Delete(
_tempDirectory
, recursive: true);