1 write to TempFolderRoot
Microsoft.Build.Engine.UnitTests (1)
BuildEnvironmentHelper_Tests.cs (1)
517
TempFolderRoot
= Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString("N"));
21 references to TempFolderRoot
Microsoft.Build.Engine.UnitTests (21)
BuildEnvironmentHelper_Tests.cs (21)
75
var vsMSBuildDirectory = Path.Combine(env.
TempFolderRoot
, "MSBuild");
87
BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.
TempFolderRoot
);
204
BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.
TempFolderRoot
);
218
env.WithEnvironment("VSINSTALLDIR", env.
TempFolderRoot
);
224
BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.
TempFolderRoot
);
244
BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.
TempFolderRoot
);
257
BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.
TempFolderRoot
);
271
env.WithVsInstance(new VisualStudioInstance("VS", env.
TempFolderRoot
, new Version(visualStudioVersion)));
278
BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.
TempFolderRoot
);
296
env.WithVsInstance(new VisualStudioInstance("VS", env.
TempFolderRoot
, new Version("14.0")));
321
BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.
TempFolderRoot
);
334
BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.
TempFolderRoot
);
395
BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.
TempFolderRoot
);
428
BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.
TempFolderRoot
);
445
BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.
TempFolderRoot
);
470
BuildDirectory = Path.Combine(
TempFolderRoot
, "MSBuild", toolsVersion, "Bin");
472
DevEnvPath = Path.Combine(
TempFolderRoot
, "Common7", "IDE", "devenv.exe");
473
BlendPath = Path.Combine(
TempFolderRoot
, "Common7", "IDE", "blend.exe");
487
Directory.CreateDirectory(Path.Combine(
TempFolderRoot
, "Common7", "IDE"));
518
BuildDirectory = Path.Combine(
TempFolderRoot
, "MSBuild");
563
FileUtilities.DeleteDirectoryNoThrow(
TempFolderRoot
, true);