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