17 references to Version46
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
1214
TargetDotNetFrameworkVersion.
Version46
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
1214
TargetDotNetFrameworkVersion.
Version46
Microsoft.Build.Tasks.Core (2)
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
));
Microsoft.Build.Utilities.Core (1)
ToolLocationHelper.cs (1)
2033
case TargetDotNetFrameworkVersion.
Version46
:
Microsoft.Build.Utilities.UnitTests (12)
ToolLocationHelper_Tests.cs (12)
792
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version100));
793
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version110));
794
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version120));
795
ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version140).ShouldBe(fullDotNetFrameworkSdkRegistryPathForV4ToolsOnManagedToolsSDK46);
894
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version100));
895
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version110));
896
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version120));
897
ToolLocationHelper.GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version140).ShouldBe(InstallationFolder);
975
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version100));
976
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version110));
977
Should.Throw<ArgumentException>(() => ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version120));
978
ToolLocationHelper.GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion.
Version46
, VisualStudioVersion.Version140).ShouldBe(pathToSdkV4InstallRootOnVS14);