48 references to FrameworkLocationHelper
Microsoft.Build (22)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
359if (FrameworkLocationHelper.GetPathToDotNetFrameworkV35(DotNetFrameworkArchitecture.Current) == null)
Construction\Solution\SolutionProjectGenerator.cs (1)
1599string aspnetCompilerPath = FrameworkLocationHelper.GetPathToDotNetFramework(aspnetCompilerVersion);
Definition\ToolsetReader.cs (5)
173FrameworkLocationHelper.GetPathToDotNetFrameworkV40(DotNetFrameworkArchitecture.Current); 239&& FrameworkLocationHelper.PathToDotNetFrameworkV20 != null) 243FrameworkLocationHelper.PathToDotNetFrameworkV20, 306var pathToFramework = FrameworkLocationHelper.PathToDotNetFrameworkV20; 312pathToFramework = 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)
1148SetBuiltInProperty(ReservedPropertyNames.programFiles32, FrameworkLocationHelper.programFiles32);
Evaluation\IntrinsicFunctions.cs (1)
725return FrameworkLocationHelper.programFiles32;
FrameworkLocationHelper.cs (1)
1574string referencePath = GenerateReferenceAssemblyPath(FrameworkLocationHelper.programFilesReferenceAssemblyLocation, this.FrameworkName);
InprocTrackingNativeMethods.cs (1)
207string buildToolsPath = FrameworkLocationHelper.GeneratePathToBuildToolsForToolsVersion(MSBuildConstants.CurrentToolsVersion, DotNetFrameworkArchitecture.Current);
TypeLoader.cs (2)
96string v20Path = FrameworkLocationHelper.PathToDotNetFrameworkV20; 97string v35Path = FrameworkLocationHelper.PathToDotNetFrameworkV35;
Utilities\Utilities.cs (5)
492string programFiles32 = FrameworkLocationHelper.programFiles32; 505if (FrameworkLocationHelper.programFiles64 != null) 511FrameworkLocationHelper.programFiles64, 513: FrameworkLocationHelper.programFiles64; 525string programFiles = FrameworkLocationHelper.programFiles;
Microsoft.Build.Engine.UnitTests (25)
BackEnd\BuildManager_Tests.cs (2)
1577if (FrameworkLocationHelper.PathToDotNetFrameworkV20 == null) 1616if (FrameworkLocationHelper.PathToDotNetFrameworkV20 == null)
BackEnd\RequestBuilder_Tests.cs (1)
266string 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));
Microsoft.Build.UnitTests.Shared (1)
WindowsNet35OnlyFactAttribute.cs (1)
31=> FrameworkLocationHelper.GetPathToDotNetFrameworkV35(DotNetFrameworkArchitecture.Current) != null;