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