48 references to architecture
Microsoft.Build (26)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
539taskIdentityParameters.Add(XMakeAttributes.architecture, msbuildArchitecture);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
894returnClass.FactoryIdentityParameters.TryGetValue(XMakeAttributes.architecture, out usingTaskArchitecture); 898taskIdentityParameters.TryGetValue(XMakeAttributes.architecture, out string taskArchitecture);
CommunicationsUtilities.cs (1)
625ErrorUtilities.VerifyThrow(taskHostParameters.TryGetValue(XMakeAttributes.architecture, out string architecture), "Should always have an explicit architecture when we call this method.");
Construction\ProjectUsingTaskElement.cs (3)
124get => GetAttributeValue(XMakeAttributes.architecture); 128SetOrRemoveAttribute(XMakeAttributes.architecture, value, "Set usingtask Architecture {0}", value); 192public ElementLocation ArchitectureLocation => GetAttributeLocation(XMakeAttributes.architecture);
Evaluation\IntrinsicFunctions.cs (1)
490parameters.Add(XMakeAttributes.architecture, architecture);
Evaluation\ProjectParser.cs (1)
51private static readonly HashSet<string> ValidAttributesOnUsingTask = new HashSet<string> { XMakeAttributes.condition, XMakeAttributes.label, XMakeAttributes.taskName, XMakeAttributes.assemblyFile, XMakeAttributes.assemblyName, XMakeAttributes.taskFactory, XMakeAttributes.architecture, XMakeAttributes.runtime, XMakeAttributes.requiredPlatform, XMakeAttributes.requiredRuntime, XMakeAttributes.overrideUsingTask };
Instance\TaskFactories\AssemblyTaskFactory.cs (11)
356if (!mergedParameters.ContainsKey(XMakeAttributes.architecture)) 358mergedParameters[XMakeAttributes.architecture] = XMakeAttributes.GetCurrentMSBuildArchitecture(); 495if (identityParameters.TryGetValue(XMakeAttributes.architecture, out architecture)) 534taskIdentityParameters.TryGetValue(XMakeAttributes.architecture, out taskArchitecture); 536factoryIdentityParameters.TryGetValue(XMakeAttributes.architecture, out usingTaskArchitecture); 570mergedParameters.TryGetValue(XMakeAttributes.architecture, out mergedArchitecture); 573mergedParameters[XMakeAttributes.architecture] = XMakeAttributes.GetExplicitMSBuildArchitecture(mergedArchitecture); 591taskIdentityParameters.TryGetValue(XMakeAttributes.architecture, out string taskArchitecture); 592factoryIdentityParameters.TryGetValue(XMakeAttributes.architecture, out string usingTaskArchitecture); 600mergedParameters.Add(XMakeAttributes.architecture, mergedArchitecture); 632if (mergedParameters.TryGetValue(XMakeAttributes.architecture, out architecture))
Instance\TaskFactories\TaskHostTask.cs (1)
255string architecture = _taskHostParameters[XMakeAttributes.architecture];
Instance\TaskRegistry.cs (5)
441taskFactoryParameters.Add(XMakeAttributes.architecture, architecture == String.Empty ? XMakeAttributes.MSBuildArchitectureValues.any : architecture); 947obj.TaskIdentityParameters.TryGetValue(XMakeAttributes.architecture, out architecture); 1024x.TryGetValue(XMakeAttributes.architecture, out architectureX); 1030y.TryGetValue(XMakeAttributes.architecture, out architectureY); 1486XMakeAttributes.architecture,
Microsoft.Build.Engine.UnitTests (22)
BackEnd\AssemblyTaskFactory_Tests.cs (16)
177factoryIdentityParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.currentArchitecture); 183taskIdentityParameters.Add(XMakeAttributes.architecture, XMakeAttributes.GetCurrentMSBuildArchitecture()); 197factoryIdentityParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.currentArchitecture); 203taskIdentityParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.currentArchitecture); 277taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 308taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.GetCurrentMSBuildArchitecture()); 339taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 372taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.GetCurrentMSBuildArchitecture()); 409taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.currentArchitecture); 440taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 473taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 508taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 568taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 603taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 632factoryParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 660taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.currentArchitecture);
BackEnd\TaskRegistry_Tests.cs (6)
582taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.x86); 1059taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.x86); 1083taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.x86); 2024Assert.Equal(expectedArchitecture, record.TaskFactoryParameters[XMakeAttributes.architecture]); 2059{XMakeAttributes.architecture, architecture ?? XMakeAttributes.MSBuildArchitectureValues.any} 2082taskParameters.TryGetValue(XMakeAttributes.architecture, out expectedArchitecture);