16 references to TaskFactoryAttributeName
Microsoft.Build (16)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1378
registeredTaskRecord.
TaskFactoryAttributeName
,
Instance\TaskRegistry.cs (15)
474
if (record.
TaskFactoryAttributeName
.Equals(RegisteredTaskRecord.AssemblyTaskFactory) || record.
TaskFactoryAttributeName
.Equals(RegisteredTaskRecord.TaskHostFactory))
1323
if (
TaskFactoryAttributeName
== AssemblyTaskFactory ||
TaskFactoryAttributeName
== TaskHostFactory)
1416
bool isAssemblyTaskFactory = String.Equals(
TaskFactoryAttributeName
, AssemblyTaskFactory, StringComparison.OrdinalIgnoreCase);
1417
bool isTaskHostFactory = String.Equals(
TaskFactoryAttributeName
, TaskHostFactory, StringComparison.OrdinalIgnoreCase);
1464
loadedType = s_taskFactoryTypeLoader.Load(
TaskFactoryAttributeName
, taskFactoryLoadInfo, targetLoggingContext.LogWarning);
1470
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "CouldNotFindFactory",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation);
1473
targetLoggingContext.LogComment(MessageImportance.Low, "InitializingTaskFactory",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation);
1479
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, Environment.NewLine + e.InnerException.ToString());
1488
targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, exception.Message);
1492
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, e.Message);
1496
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, e.Message);
1582
TaskFactoryAttributeName
,
1596
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, message);