14 references to Version451
Microsoft.Build.Tasks.Core (1)
GetFrameworkPath.cs (1)
43
private static readonly Lazy<string> s_version451Path = new Lazy<string>(() => ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version451
));
Microsoft.Build.Utilities.Core (1)
ToolLocationHelper.cs (1)
2028
case TargetDotNetFrameworkVersion.
Version451
:
Microsoft.Build.Utilities.UnitTests (12)
ToolLocationHelper_Tests.cs (12)
774
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version100));
775
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version110));
776
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version120).ShouldBe(fullDotNetFrameworkSdkRegistryPathForV4ToolsOnManagedToolsSDK81A);
777
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version140).ShouldBe(fullDotNetFrameworkSdkRegistryPathForV4ToolsOnManagedToolsSDK46);
882
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version100));
883
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version110));
884
ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version120).ShouldBe(InstallationFolder);
885
ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version140).ShouldBe(InstallationFolder);
963
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version100));
964
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version110));
965
ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version120).ShouldBe(pathToSdkV4InstallRootOnVS12);
966
ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version451
, VisualStudioVersion.Version140).ShouldBe(pathToSdkV4InstallRootOnVS14);