16 references to TaskFactoryAttributeName
Microsoft.Build (16)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1433
registeredTaskRecord.
TaskFactoryAttributeName
,
Instance\TaskRegistry.cs (15)
281
if (record.
TaskFactoryAttributeName
.Equals(RegisteredTaskRecord.AssemblyTaskFactory) || record.
TaskFactoryAttributeName
.Equals(RegisteredTaskRecord.TaskHostFactory))
1108
if (
TaskFactoryAttributeName
== AssemblyTaskFactory ||
TaskFactoryAttributeName
== TaskHostFactory)
1203
bool isAssemblyTaskFactory = String.Equals(
TaskFactoryAttributeName
, AssemblyTaskFactory, StringComparison.OrdinalIgnoreCase);
1204
bool isTaskHostFactory = String.Equals(
TaskFactoryAttributeName
, TaskHostFactory, StringComparison.OrdinalIgnoreCase);
1251
loadedType = s_taskFactoryTypeLoader.Load(
TaskFactoryAttributeName
, taskFactoryLoadInfo, targetLoggingContext.LogWarning);
1257
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "CouldNotFindFactory",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation);
1260
targetLoggingContext.LogComment(MessageImportance.Low, "InitializingTaskFactory",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation);
1266
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, Environment.NewLine + e.InnerException.ToString());
1275
targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, exception.Message);
1279
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, e.Message);
1283
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, e.Message);
1369
TaskFactoryAttributeName
,
1383
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure",
TaskFactoryAttributeName
, taskFactoryLoadInfo.AssemblyLocation, message);