19 references to Version46
Microsoft.Build.Tasks.CodeAnalysis (1)
ManagedCompiler.cs (1)
1207
TargetDotNetFrameworkVersion.
Version46
Microsoft.Build.Tasks.Core (5)
AddToWin32Manifest.cs (1)
101
string? defaultManifestPath = ToolLocationHelper.GetPathToDotNetFrameworkFile(DefaultManifestName, TargetDotNetFrameworkVersion.
Version46
);
GetFrameworkPath.cs (1)
44
private static readonly Lazy<string> s_version46Path = new Lazy<string>(() => ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.
Version46
));
GetFrameworkSDKPath.cs (3)
247
s_version46Path = ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.VersionLatest);
254
ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.VersionLatest),
255
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.VersionLatest));
Microsoft.Build.Utilities.Core (1)
ToolLocationHelper.cs (1)
2029
case TargetDotNetFrameworkVersion.
Version46
:
Microsoft.Build.Utilities.UnitTests (12)
ToolLocationHelper_Tests.cs (12)
789
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version100));
790
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version110));
791
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version120));
792
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version140).ShouldBe(fullDotNetFrameworkSdkRegistryPathForV4ToolsOnManagedToolsSDK46);
891
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version100));
892
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version110));
893
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version120));
894
ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version140).ShouldBe(InstallationFolder);
972
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version100));
973
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version110));
974
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version120));
975
ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version140).ShouldBe(pathToSdkV4InstallRootOnVS14);