36 references to GetPathToDotNetFramework
Microsoft.Build.Engine.OM.UnitTests (8)
Definition\Project_Tests.cs (4)
1062
if (ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version35) == null)
1113
if (ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version20) == null)
1142
if (ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version20) != null)
1166
if (ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version20) == null)
Definition\ProjectCollection_Tests.cs (4)
496
if (ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version35) == null)
502
if (ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version20) == null)
1085
if (ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version20) == null)
1105
if (ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version20) != null)
Microsoft.Build.Tasks.Core (17)
GetFrameworkPath.cs (16)
35
private static readonly Lazy<string> s_path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Latest));
36
private static readonly Lazy<string> s_version11Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version11));
37
private static readonly Lazy<string> s_version20Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version20));
38
private static readonly Lazy<string> s_version30Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version30));
39
private static readonly Lazy<string> s_version35Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version35));
40
private static readonly Lazy<string> s_version40Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version40));
41
private static readonly Lazy<string> s_version45Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version45));
42
private static readonly Lazy<string> s_version451Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version451));
43
private static readonly Lazy<string> s_version452Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version452));
44
private static readonly Lazy<string> s_version46Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version46));
45
private static readonly Lazy<string> s_version461Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version461));
46
private static readonly Lazy<string> s_version462Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version462));
47
private static readonly Lazy<string> s_version47Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version47));
48
private static readonly Lazy<string> s_version471Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version471));
49
private static readonly Lazy<string> s_version472Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version472));
50
private static readonly Lazy<string> s_version48Path = new Lazy<string>(() => ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version48));
RedistList.cs (1)
217
string frameworkVersion20Path = ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version20);
Microsoft.Build.Utilities.Core (4)
ToolLocationHelper.cs (4)
1950
?
GetPathToDotNetFramework
(version)
3801
string dotNetFx20Path =
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version20);
3936
string dotNetFx35Path =
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version35);
3943
string dotNetFx20Path =
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version20);
Microsoft.Build.Utilities.UnitTests (7)
ToolLocationHelper_Tests.cs (7)
634
ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version11).ShouldBe(FrameworkLocationHelper.PathToDotNetFrameworkV11);
635
ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version20).ShouldBe(FrameworkLocationHelper.PathToDotNetFrameworkV20);
636
ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version30).ShouldBe(FrameworkLocationHelper.PathToDotNetFrameworkV30);
637
ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version35).ShouldBe(FrameworkLocationHelper.PathToDotNetFrameworkV35);
638
ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Version40).ShouldBe(FrameworkLocationHelper.PathToDotNetFrameworkV40);
639
ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.VersionLatest).ShouldBe(FrameworkLocationHelper.PathToDotNetFrameworkV40);
640
ToolLocationHelper.
GetPathToDotNetFramework
(TargetDotNetFrameworkVersion.Latest).ShouldBe(FrameworkLocationHelper.PathToDotNetFrameworkV40);