1 write to Root
Microsoft.Extensions.SecretManager.Tools.Tests (1)
TemporaryFileProvider.cs (1)
14
Root
= Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), "tmpfiles", Guid.NewGuid().ToString())).FullName;
9 references to Root
Microsoft.Extensions.SecretManager.Tools.Tests (9)
MsBuildProjectFinderTest.cs (7)
23
var finder = new MsBuildProjectFinder(files.
Root
);
25
Assert.Equal(Path.Combine(files.
Root
, filename), finder.FindMsBuildProject(null));
34
var finder = new MsBuildProjectFinder(files.
Root
);
45
var finder = new MsBuildProjectFinder(files.
Root
);
59
var finder = new MsBuildProjectFinder(files.
Root
);
70
var finder = new MsBuildProjectFinder(files.
Root
);
80
var finder = new MsBuildProjectFinder(files.
Root
);
TemporaryFileProvider.cs (2)
21
File.WriteAllText(Path.Combine(
Root
, filename), contents, Encoding.UTF8);
26
Directory.Delete(
Root
, recursive: true);