16 references to TaskFactoryAttributeName
Microsoft.Build (16)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1393
registeredTaskRecord.
TaskFactoryAttributeName
,
Instance\TaskRegistry.cs (15)
476
if (record.
TaskFactoryAttributeName
.Equals(RegisteredTaskRecord.AssemblyTaskFactory) || record.
TaskFactoryAttributeName
.Equals(RegisteredTaskRecord.TaskHostFactory))
1313
if (
TaskFactoryAttributeName
== AssemblyTaskFactory ||
TaskFactoryAttributeName
== TaskHostFactory)
1408
bool isAssemblyTaskFactory = String.Equals(
TaskFactoryAttributeName
, AssemblyTaskFactory, StringComparison.OrdinalIgnoreCase);
1409
bool isTaskHostFactory = String.Equals(
TaskFactoryAttributeName
, TaskHostFactory, StringComparison.OrdinalIgnoreCase);
1456
loadedType = s_taskFactoryTypeLoader.Load(
TaskFactoryAttributeName
, taskFactoryLoadInfo, targetLoggingContext.LogWarning);
1462
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "CouldNotFindFactory",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation);
1465
targetLoggingContext.LogComment(MessageImportance.Low, "InitializingTaskFactory",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation);
1471
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, Environment.NewLine + e.InnerException.ToString());
1480
targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, exception.Message);
1484
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, e.Message);
1488
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, e.Message);
1574
TaskFactoryAttributeName
,
1588
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, message);