64 references to DotNetFrameworkArchitecture
Microsoft.Build.Utilities.Core (38)
FrameworkLocationHelper.cs (26)
411
: GetPathToDotNetFrameworkV11(
DotNetFrameworkArchitecture
.Current);
421
: GetPathToDotNetFrameworkV20(
DotNetFrameworkArchitecture
.Current);
431
: GetPathToDotNetFrameworkV30(
DotNetFrameworkArchitecture
.Current);
441
: GetPathToDotNetFrameworkV35(
DotNetFrameworkArchitecture
.Current);
451
: GetPathToDotNetFrameworkV40(
DotNetFrameworkArchitecture
.Current);
461
: GetPathToDotNetFrameworkV45(
DotNetFrameworkArchitecture
.Current);
684
internal static string GetPathToDotNetFrameworkV11(
DotNetFrameworkArchitecture
architecture)
689
internal static string GetPathToDotNetFrameworkV20(
DotNetFrameworkArchitecture
architecture)
694
internal static string GetPathToDotNetFrameworkV30(
DotNetFrameworkArchitecture
architecture)
699
internal static string GetPathToDotNetFrameworkV35(
DotNetFrameworkArchitecture
architecture)
704
internal static string GetPathToDotNetFrameworkV40(
DotNetFrameworkArchitecture
architecture)
709
internal static string GetPathToDotNetFrameworkV45(
DotNetFrameworkArchitecture
architecture)
716
return GetPathToDotNetFramework(version,
DotNetFrameworkArchitecture
.Current);
719
internal static string GetPathToDotNetFramework(Version version,
DotNetFrameworkArchitecture
architecture)
772
DotNetFrameworkArchitecture
architecture)
798
if (leaf.StartsWith(prefix, StringComparison.Ordinal) && architecture ==
DotNetFrameworkArchitecture
.Current)
810
if (indexOfFramework64 != -1 && architecture ==
DotNetFrameworkArchitecture
.Bitness32)
819
else if (indexOfFramework64 == -1 && architecture ==
DotNetFrameworkArchitecture
.Bitness64)
942
internal static string GeneratePathToBuildToolsForToolsVersion(string toolsVersion,
DotNetFrameworkArchitecture
architecture)
1041
private static string GetPathToBuildToolsFromEnvironment(
DotNetFrameworkArchitecture
architecture)
1045
DotNetFrameworkArchitecture
.Bitness64 => BuildEnvironmentHelper.Instance.MSBuildToolsDirectory64,
1046
DotNetFrameworkArchitecture
.Bitness32 => BuildEnvironmentHelper.Instance.MSBuildToolsDirectory32,
1289
private readonly ConcurrentDictionary<
DotNetFrameworkArchitecture
, string> _pathsToDotNetFramework;
1326
this._pathsToDotNetFramework = new ConcurrentDictionary<
DotNetFrameworkArchitecture
, string>();
1362
public virtual string GetPathToDotNetFramework(
DotNetFrameworkArchitecture
architecture)
1671
return this.GetPathToDotNetFramework(
DotNetFrameworkArchitecture
.Current);
ToolLocationHelper.cs (12)
18
using SharedDotNetFrameworkArchitecture = Microsoft.Build.Shared.
DotNetFrameworkArchitecture
;
1697
SharedDotNetFrameworkArchitecture
sharedArchitecture = ConvertToSharedDotNetFrameworkArchitecture(architecture);
1819
SharedDotNetFrameworkArchitecture
targetedArchitecture =
SharedDotNetFrameworkArchitecture
.Current;
1826
targetedArchitecture =
SharedDotNetFrameworkArchitecture
.Bitness32;
1830
targetedArchitecture =
SharedDotNetFrameworkArchitecture
.Bitness64;
3711
private static
SharedDotNetFrameworkArchitecture
ConvertToSharedDotNetFrameworkArchitecture(UtilitiesDotNetFrameworkArchitecture architecture)
3713
SharedDotNetFrameworkArchitecture
sharedArchitecture =
SharedDotNetFrameworkArchitecture
.Current;
3717
sharedArchitecture =
SharedDotNetFrameworkArchitecture
.Current;
3720
sharedArchitecture =
SharedDotNetFrameworkArchitecture
.Bitness32;
3723
sharedArchitecture =
SharedDotNetFrameworkArchitecture
.Bitness64;
Microsoft.Build.Utilities.UnitTests (26)
ToolLocationHelper_Tests.cs (26)
23
using SharedDotNetFrameworkArchitecture = Microsoft.Build.Shared.
DotNetFrameworkArchitecture
;
516
SharedDotNetFrameworkArchitecture
.Current);
538
SharedDotNetFrameworkArchitecture
.Current);
555
SharedDotNetFrameworkArchitecture
.Current);
572
SharedDotNetFrameworkArchitecture
.Current);
590
SharedDotNetFrameworkArchitecture
.Current);
613
SharedDotNetFrameworkArchitecture
.Current);
643
FrameworkLocationHelper.GetPathToDotNetFrameworkV11(
SharedDotNetFrameworkArchitecture
.Bitness32));
645
FrameworkLocationHelper.GetPathToDotNetFrameworkV20(
SharedDotNetFrameworkArchitecture
.Bitness32));
647
FrameworkLocationHelper.GetPathToDotNetFrameworkV30(
SharedDotNetFrameworkArchitecture
.Bitness32));
649
FrameworkLocationHelper.GetPathToDotNetFrameworkV35(
SharedDotNetFrameworkArchitecture
.Bitness32));
652
FrameworkLocationHelper.GetPathToDotNetFrameworkV40(
SharedDotNetFrameworkArchitecture
.Bitness32));
654
FrameworkLocationHelper.GetPathToDotNetFrameworkV40(
SharedDotNetFrameworkArchitecture
.Bitness32));
656
FrameworkLocationHelper.GetPathToDotNetFrameworkV40(
SharedDotNetFrameworkArchitecture
.Bitness32));
662
FrameworkLocationHelper.GetPathToDotNetFrameworkV11(
SharedDotNetFrameworkArchitecture
.Bitness64));
664
FrameworkLocationHelper.GetPathToDotNetFrameworkV20(
SharedDotNetFrameworkArchitecture
.Bitness64));
666
FrameworkLocationHelper.GetPathToDotNetFrameworkV30(
SharedDotNetFrameworkArchitecture
.Bitness64));
668
FrameworkLocationHelper.GetPathToDotNetFrameworkV35(
SharedDotNetFrameworkArchitecture
.Bitness64));
671
FrameworkLocationHelper.GetPathToDotNetFrameworkV40(
SharedDotNetFrameworkArchitecture
.Bitness64));
673
FrameworkLocationHelper.GetPathToDotNetFrameworkV40(
SharedDotNetFrameworkArchitecture
.Bitness64));
675
FrameworkLocationHelper.GetPathToDotNetFrameworkV40(
SharedDotNetFrameworkArchitecture
.Bitness64));
2141
string frameworkDirectory2032bit = FrameworkLocationHelper.GetPathToDotNetFrameworkV20(
SharedDotNetFrameworkArchitecture
.Bitness32);
2142
string frameworkDirectory2064bit = FrameworkLocationHelper.GetPathToDotNetFrameworkV20(
SharedDotNetFrameworkArchitecture
.Bitness64);
2143
string frameworkDirectory20Current = FrameworkLocationHelper.GetPathToDotNetFrameworkV20(
SharedDotNetFrameworkArchitecture
.Current);
2233
string frameworkDirectory2032bit = FrameworkLocationHelper.GetPathToDotNetFrameworkV20(
SharedDotNetFrameworkArchitecture
.Bitness32);
2234
string frameworkDirectory20Current = FrameworkLocationHelper.GetPathToDotNetFrameworkV20(
SharedDotNetFrameworkArchitecture
.Current);