45 references to FrameworkLocationHelper
Microsoft.Build (20)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
323if (FrameworkLocationHelper.GetPathToDotNetFrameworkV35(DotNetFrameworkArchitecture.Current) == null)
Construction\Solution\SolutionProjectGenerator.cs (1)
1599string aspnetCompilerPath = FrameworkLocationHelper.GetPathToDotNetFramework(aspnetCompilerVersion);
Definition\ToolsetReader.cs (5)
179FrameworkLocationHelper.GetPathToDotNetFrameworkV40(DotNetFrameworkArchitecture.Current); 245&& FrameworkLocationHelper.PathToDotNetFrameworkV20 != null) 249FrameworkLocationHelper.PathToDotNetFrameworkV20, 312var pathToFramework = FrameworkLocationHelper.PathToDotNetFrameworkV20; 318pathToFramework = FrameworkLocationHelper.PathToDotNetFrameworkV40;
ElementLocation\XmlDocumentWithLocation.cs (4)
365(!String.IsNullOrEmpty(FrameworkLocationHelper.programFiles32) && directory.StartsWith(FrameworkLocationHelper.programFiles32, StringComparison.OrdinalIgnoreCase)) || 366(!String.IsNullOrEmpty(FrameworkLocationHelper.programFiles64) && directory.StartsWith(FrameworkLocationHelper.programFiles64, StringComparison.OrdinalIgnoreCase)))
Evaluation\Evaluator.cs (1)
1143SetBuiltInProperty(ReservedPropertyNames.programFiles32, FrameworkLocationHelper.programFiles32);
Evaluation\IntrinsicFunctions.cs (1)
705return FrameworkLocationHelper.programFiles32;
FrameworkLocationHelper.cs (1)
1536string referencePath = GenerateReferenceAssemblyPath(FrameworkLocationHelper.programFilesReferenceAssemblyLocation, this.FrameworkName);
InprocTrackingNativeMethods.cs (1)
207string buildToolsPath = FrameworkLocationHelper.GeneratePathToBuildToolsForToolsVersion(MSBuildConstants.CurrentToolsVersion, DotNetFrameworkArchitecture.Current);
Utilities\Utilities.cs (5)
488string programFiles32 = FrameworkLocationHelper.programFiles32; 501if (FrameworkLocationHelper.programFiles64 != null) 507FrameworkLocationHelper.programFiles64, 509: FrameworkLocationHelper.programFiles64; 521string programFiles = FrameworkLocationHelper.programFiles;
Microsoft.Build.Engine.UnitTests (25)
BackEnd\BuildManager_Tests.cs (2)
1574if (FrameworkLocationHelper.PathToDotNetFrameworkV20 == null) 1613if (FrameworkLocationHelper.PathToDotNetFrameworkV20 == null)
BackEnd\RequestBuilder_Tests.cs (1)
261string defaultToolsVersion = FrameworkLocationHelper.PathToDotNetFrameworkV20 == null
Construction\SolutionProjectGenerator_Tests.cs (19)
17using FrameworkLocationHelper = Microsoft.Build.Shared.FrameworkLocationHelper; 380if (FrameworkLocationHelper.PathToDotNetFrameworkV35 == null) 421if (FrameworkLocationHelper.PathToDotNetFrameworkV35 == null) 1287if (FrameworkLocationHelper.PathToDotNetFrameworkV20 == null) 1721if (FrameworkLocationHelper.PathToDotNetFrameworkV20 == null) 1753if (FrameworkLocationHelper.PathToDotNetFrameworkV20 == null) 1763if (FrameworkLocationHelper.PathToDotNetFrameworkV35 == null) 1794if (FrameworkLocationHelper.PathToDotNetFrameworkSdkV20 != null) 1806AssertProjectContainsItem(msbuildProject, "_CombinedTargetFrameworkDirectoriesItem", FrameworkLocationHelper.PathToDotNetFrameworkV20); 1821if (FrameworkLocationHelper.PathToDotNetFrameworkV20 == null) 1835AssertProjectContainsItem(msbuildProject, "_CombinedTargetFrameworkDirectoriesItem", FrameworkLocationHelper.PathToDotNetFrameworkV20); 1849if (FrameworkLocationHelper.PathToDotNetFrameworkV20 == null) 1866AssertProjectContainsItem(msbuildProject, "_CombinedTargetFrameworkDirectoriesItem", FrameworkLocationHelper.PathToDotNetFrameworkV20); 1869if (FrameworkLocationHelper.PathToDotNetFrameworkV30 != null) 1871AssertProjectContainsItem(msbuildProject, "_CombinedTargetFrameworkDirectoriesItem", FrameworkLocationHelper.PathToDotNetFrameworkV30); 1875if (FrameworkLocationHelper.PathToDotNetFrameworkV35 != null) 1877AssertProjectContainsItem(msbuildProject, "_CombinedTargetFrameworkDirectoriesItem", FrameworkLocationHelper.PathToDotNetFrameworkV35); 1881if (FrameworkLocationHelper.PathToDotNetFrameworkV40 != null) 1883AssertProjectContainsItem(msbuildProject, "_CombinedTargetFrameworkDirectoriesItem", FrameworkLocationHelper.PathToDotNetFrameworkV40);
Definition\Project_Internal_Tests.cs (2)
115if (FrameworkLocationHelper.PathToDotNetFrameworkV20 == null) 166if (FrameworkLocationHelper.PathToDotNetFrameworkV20 == null)
Evaluation\Evaluator_Tests.cs (1)
2953logger.AssertLogContains(String.Format("[{0}]", FrameworkLocationHelper.programFiles32));