26 references to Version20
Microsoft.Build.Engine.OM.UnitTests (6)
Definition\Project_Tests.cs (3)
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 (3)
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 (5)
GetFrameworkPath.cs (1)
37
private static readonly Lazy<string> s_version20Path = new Lazy<string>(() => ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version20
));
GetFrameworkSDKPath.cs (3)
82
s_version20Path = ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version20
);
89
ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version20
),
90
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version20
));
RedistList.cs (1)
217
string frameworkVersion20Path = ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version20
);
Microsoft.Build.Utilities.Core (5)
ToolLocationHelper.cs (5)
2008
case TargetDotNetFrameworkVersion.
Version20
:
2156
string referencePath = VersionToDotNetFrameworkPath(PathToDotNetFramework, TargetDotNetFrameworkVersion.
Version20
);
3552
"2.0" => GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version20
, architecture),
3801
string dotNetFx20Path = GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version20
);
3943
string dotNetFx20Path = GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version20
);
Microsoft.Build.Utilities.UnitTests (10)
ToolLocationHelper_Tests.cs (10)
625
ToolLocationHelper.GetDotNetFrameworkVersionFolderPrefix(TargetDotNetFrameworkVersion.
Version20
).ShouldBe(FrameworkLocationHelper.dotNetFrameworkVersionFolderPrefixV20);
635
ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version20
).ShouldBe(FrameworkLocationHelper.PathToDotNetFrameworkV20);
644
ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version20
, UtilitiesDotNetFrameworkArchitecture.Bitness32).ShouldBe(
663
ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version20
, UtilitiesDotNetFrameworkArchitecture.Bitness64).ShouldBe(
682
string net20Path = ToolLocationHelper.GetPathToDotNetFrameworkFile("MSBuild.exe", TargetDotNetFrameworkVersion.
Version20
);
705
string net20Path = ToolLocationHelper.GetPathToDotNetFrameworkFile("msbuild.exe", TargetDotNetFrameworkVersion.
Version20
, UtilitiesDotNetFrameworkArchitecture.Bitness32);
742
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version20
, vsVersion).ShouldBe(FrameworkLocationHelper.fullDotNetFrameworkRegistryKey);
869
ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version20
, vsVersion).ShouldBe(FrameworkLocationHelper.dotNetFrameworkSdkInstallKeyValueV20);
944
ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version20
, vsVersion).ShouldBe(FrameworkLocationHelper.PathToDotNetFrameworkSdkV20);
2886
case TargetDotNetFrameworkVersion.
Version20
: