37 references to FrameworkLocationHelper
Microsoft.Build (12)
Definition\ToolsetReader.cs (5)
179
FrameworkLocationHelper
.GetPathToDotNetFrameworkV40(DotNetFrameworkArchitecture.Current);
245
&&
FrameworkLocationHelper
.PathToDotNetFrameworkV20 != null)
249
FrameworkLocationHelper
.PathToDotNetFrameworkV20,
312
var pathToFramework =
FrameworkLocationHelper
.PathToDotNetFrameworkV20;
318
pathToFramework =
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)
1135
SetBuiltInProperty(ReservedPropertyNames.programFiles32,
FrameworkLocationHelper
.programFiles32);
Evaluation\IntrinsicFunctions.cs (1)
686
return
FrameworkLocationHelper
.programFiles32;
FrameworkLocationHelper.cs (1)
1532
string referencePath = GenerateReferenceAssemblyPath(
FrameworkLocationHelper
.programFilesReferenceAssemblyLocation, this.FrameworkName);
Microsoft.Build.Engine.UnitTests (25)
BackEnd\BuildManager_Tests.cs (2)
1575
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV20 == null)
1614
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV20 == null)
BackEnd\RequestBuilder_Tests.cs (1)
261
string defaultToolsVersion =
FrameworkLocationHelper
.PathToDotNetFrameworkV20 == null
Construction\SolutionProjectGenerator_Tests.cs (19)
17
using FrameworkLocationHelper = Microsoft.Build.Shared.
FrameworkLocationHelper
;
351
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV35 == null)
388
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV35 == null)
1242
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV20 == null)
1658
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV20 == null)
1690
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV20 == null)
1700
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV35 == null)
1731
if (
FrameworkLocationHelper
.PathToDotNetFrameworkSdkV20 != null)
1743
AssertProjectContainsItem(msbuildProject, "_CombinedTargetFrameworkDirectoriesItem",
FrameworkLocationHelper
.PathToDotNetFrameworkV20);
1758
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV20 == null)
1772
AssertProjectContainsItem(msbuildProject, "_CombinedTargetFrameworkDirectoriesItem",
FrameworkLocationHelper
.PathToDotNetFrameworkV20);
1786
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV20 == null)
1803
AssertProjectContainsItem(msbuildProject, "_CombinedTargetFrameworkDirectoriesItem",
FrameworkLocationHelper
.PathToDotNetFrameworkV20);
1806
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV30 != null)
1808
AssertProjectContainsItem(msbuildProject, "_CombinedTargetFrameworkDirectoriesItem",
FrameworkLocationHelper
.PathToDotNetFrameworkV30);
1812
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV35 != null)
1814
AssertProjectContainsItem(msbuildProject, "_CombinedTargetFrameworkDirectoriesItem",
FrameworkLocationHelper
.PathToDotNetFrameworkV35);
1818
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV40 != null)
1820
AssertProjectContainsItem(msbuildProject, "_CombinedTargetFrameworkDirectoriesItem",
FrameworkLocationHelper
.PathToDotNetFrameworkV40);
Definition\Project_Internal_Tests.cs (2)
116
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV20 == null)
167
if (
FrameworkLocationHelper
.PathToDotNetFrameworkV20 == null)
Evaluation\Evaluator_Tests.cs (1)
2918
logger.AssertLogContains(String.Format("[{0}]",
FrameworkLocationHelper
.programFiles32));