16 references to TaskFactoryAttributeName
Microsoft.Build (16)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1438
registeredTaskRecord.
TaskFactoryAttributeName
,
Instance\TaskRegistry.cs (15)
282
if (record.
TaskFactoryAttributeName
.Equals(RegisteredTaskRecord.AssemblyTaskFactory) || record.
TaskFactoryAttributeName
.Equals(RegisteredTaskRecord.TaskHostFactory))
1114
if (
TaskFactoryAttributeName
== AssemblyTaskFactory ||
TaskFactoryAttributeName
== TaskHostFactory)
1209
bool isAssemblyTaskFactory = String.Equals(
TaskFactoryAttributeName
, AssemblyTaskFactory, StringComparison.OrdinalIgnoreCase);
1210
bool isTaskHostFactory = String.Equals(
TaskFactoryAttributeName
, TaskHostFactory, StringComparison.OrdinalIgnoreCase);
1257
loadedType = s_taskFactoryTypeLoader.Load(
TaskFactoryAttributeName
, taskFactoryLoadInfo, targetLoggingContext.LogWarning);
1263
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "CouldNotFindFactory",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation);
1266
targetLoggingContext.LogComment(MessageImportance.Low, "InitializingTaskFactory",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation);
1272
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, Environment.NewLine + e.InnerException.ToString());
1284
TaskFactoryAttributeName
,
1290
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, e.Message);
1294
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, e.Message);
1380
TaskFactoryAttributeName
,
1394
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, message);