14 references to Version451
Microsoft.Build.Tasks.Core (1)
GetFrameworkPath.cs (1)
42
private static readonly Lazy<string> s_version451Path = new Lazy<string>(() => ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version451
));
Microsoft.Build.Utilities.Core (1)
ToolLocationHelper.cs (1)
2027
case TargetDotNetFrameworkVersion.
Version451
:
Microsoft.Build.Utilities.UnitTests (12)
ToolLocationHelper_Tests.cs (12)
780
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version100));
781
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version110));
782
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version120).ShouldBe(fullDotNetFrameworkSdkRegistryPathForV4ToolsOnManagedToolsSDK81A);
783
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version140).ShouldBe(fullDotNetFrameworkSdkRegistryPathForV4ToolsOnManagedToolsSDK46);
888
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version100));
889
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version110));
890
ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version120).ShouldBe(InstallationFolder);
891
ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version140).ShouldBe(InstallationFolder);
969
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version100));
970
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version110));
971
ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version120).ShouldBe(pathToSdkV4InstallRootOnVS12);
972
ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version140).ShouldBe(pathToSdkV4InstallRootOnVS14);