18 references to TaskFactoryAttributeName
Microsoft.Build (15)
Instance\TaskRegistry.cs (15)
490
if (record.
TaskFactoryAttributeName
.Equals(RegisteredTaskRecord.AssemblyTaskFactory) || record.
TaskFactoryAttributeName
.Equals(RegisteredTaskRecord.TaskHostFactory))
1381
if (
TaskFactoryAttributeName
== AssemblyTaskFactory ||
TaskFactoryAttributeName
== TaskHostFactory)
1472
bool isAssemblyTaskFactory = String.Equals(
TaskFactoryAttributeName
, AssemblyTaskFactory, StringComparison.OrdinalIgnoreCase);
1473
bool isTaskHostFactory = String.Equals(
TaskFactoryAttributeName
, TaskHostFactory, StringComparison.OrdinalIgnoreCase);
1512
loadedType = s_taskFactoryTypeLoader.Load(
TaskFactoryAttributeName
, taskFactoryLoadInfo);
1518
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "CouldNotFindFactory",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation);
1521
targetLoggingContext.LogComment(MessageImportance.Low, "InitializingTaskFactory",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation);
1527
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, Environment.NewLine + e.InnerException.ToString());
1536
targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, exception.Message);
1540
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, e.Message);
1544
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, e.Message);
1615
TaskFactoryAttributeName
,
1629
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, message);
Microsoft.Build.Engine.UnitTests (3)
BackEnd\TaskRegistry_Tests.cs (1)
1147
Assert.Equal(expandedTaskFactory, registeredTaskRecords[0].
TaskFactoryAttributeName
);
TestComparers\TaskRegistryComparers.cs (2)
50
Assert.Equal(x.
TaskFactoryAttributeName
, y.
TaskFactoryAttributeName
);