1 write to VisualStudioInstallRootDirectory
Microsoft.Build (1)
BuildEnvironmentHelper.cs (1)
550VisualStudioInstallRootDirectory = visualStudioPath;
25 references to VisualStudioInstallRootDirectory
Microsoft.Build (5)
BuildEnvironmentHelper.cs (3)
623? Path.Combine(VisualStudioInstallRootDirectory, "MSBuild") 674if (VisualStudioInstallRootDirectory != null) 677defaultSdkPath = FileUtilities.CombinePaths(VisualStudioInstallRootDirectory, "MSBuild", "Sdks");
Evaluation\IntrinsicFunctions.cs (1)
681return BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory;
Utilities\NuGetFrameworkWrapper.cs (1)
204Path.Combine(BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory, "Common7", "IDE", "CommonExtensions", "Microsoft", "NuGet") :
Microsoft.Build.Engine.UnitTests (20)
BuildEnvironmentHelper_Tests.cs (17)
56BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBeNull(); 87BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.TempFolderRoot); 204BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.TempFolderRoot); 224BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.TempFolderRoot); 230BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBeNull(); 244BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.TempFolderRoot); 257BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.TempFolderRoot); 278BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.TempFolderRoot); 284BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBeNull(); 301BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBeNull(); 321BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.TempFolderRoot); 334BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.TempFolderRoot); 365BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBeNull(); 395BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.TempFolderRoot); 411BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBeNull(); 428BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.TempFolderRoot); 445BuildEnvironmentHelper.Instance.VisualStudioInstallRootDirectory.ShouldBe(env.TempFolderRoot);
ProjectCache\ProjectCacheTests.cs (3)
562visualStudioPath: currentBuildEnvironment.VisualStudioInstallRootDirectory)); 680visualStudioPath: currentBuildEnvironment.VisualStudioInstallRootDirectory)); 1448visualStudioPath: currentBuildEnvironment.VisualStudioInstallRootDirectory));