2 overrides of AssemblyLocation
Microsoft.Build.Framework (2)
Utilities\AssemblyLoadInfo.cs (2)
166
internal override string
AssemblyLocation
221
internal override string
AssemblyLocation
36 references to AssemblyLocation
Microsoft.Build (26)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
406
|| tht.LoadedTaskAssemblyInfo.
AssemblyLocation
== _taskFactoryWrapper.TaskFactoryLoadedType.Path;
Instance\TaskFactories\AssemblyTaskFactory.cs (12)
85
return _loadedType.Assembly.
AssemblyLocation
;
271
ProjectErrorUtilities.VerifyThrowInvalidProject(_loadedType != null, elementLocation, "TaskLoadFailure", taskName, loadInfo.
AssemblyLocation
, String.Empty);
277
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, loadInfo.
AssemblyLocation
, Environment.NewLine + e.InnerException.ToString());
286
targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, loadInfo.
AssemblyLocation
, exception.Message);
290
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, loadInfo.
AssemblyLocation
, e.Message);
295
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, loadInfo.
AssemblyLocation
, e.Message);
299
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, loadInfo.
AssemblyLocation
, e.Message);
491
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.
AssemblyLocation
, Environment.NewLine + e.InnerException.ToString());
500
targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, _loadedType.Assembly.
AssemblyLocation
, exception.Message);
504
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.
AssemblyLocation
, e.Message);
509
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.
AssemblyLocation
, e.Message);
520
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.
AssemblyLocation
, e.Message);
Instance\TaskFactories\TaskHostTask.cs (2)
312
_taskType.Assembly.
AssemblyLocation
,
327
taskLocation = _taskType?.Assembly?.
AssemblyLocation
?? string.Empty;
Instance\TaskRegistry.cs (8)
1472
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "CouldNotFindFactory", TaskFactoryAttributeName, taskFactoryLoadInfo.
AssemblyLocation
);
1475
targetLoggingContext.LogComment(MessageImportance.Low, "InitializingTaskFactory", TaskFactoryAttributeName, taskFactoryLoadInfo.
AssemblyLocation
);
1481
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure", TaskFactoryAttributeName, taskFactoryLoadInfo.
AssemblyLocation
, Environment.NewLine + e.InnerException.ToString());
1490
targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskFactoryLoadFailure", TaskFactoryAttributeName, taskFactoryLoadInfo.
AssemblyLocation
, exception.Message);
1494
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure", TaskFactoryAttributeName, taskFactoryLoadInfo.
AssemblyLocation
, e.Message);
1498
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure", TaskFactoryAttributeName, taskFactoryLoadInfo.
AssemblyLocation
, e.Message);
1585
taskFactoryLoadInfo.
AssemblyLocation
,
1598
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskFactoryLoadFailure", TaskFactoryAttributeName, taskFactoryLoadInfo.
AssemblyLocation
, message);
Logging\LoggerDescription.cs (1)
225
string message = ResourceUtilities.FormatResourceStringStripCodeAndKeyword("LoggerInstantiationFailureErrorInvalidCast", _loggerClassName, _loggerAssembly.
AssemblyLocation
, e.Message);
TypeLoader.cs (2)
246
throw new FileNotFoundException(null, assemblyLoadInfo.
AssemblyLocation
, e);
255
throw new FileNotFoundException(null, assemblyLoadInfo.
AssemblyLocation
);
Microsoft.Build.Engine.UnitTests (6)
TypeLoader_Tests.cs (6)
238
Assert.Equal(forwardingLoggerLocation, loadedType.Assembly.
AssemblyLocation
);
244
Assert.Equal(fileLoggerLocation, loadedType.Assembly.
AssemblyLocation
);
259
Assert.Equal(forwardingLoggerLocation, loadedType.Assembly.
AssemblyLocation
);
266
Assert.Equal(fileLoggerLocation, loadedType.Assembly.
AssemblyLocation
);
286
Assert.Equal(forwardingLoggerAssemblyLocation, loadedType.Assembly.
AssemblyLocation
);
298
Assert.Equal(fileLoggerAssemblyLocation, loadedType.Assembly.
AssemblyLocation
);
Microsoft.Build.Framework (2)
Loader\LoadedType.cs (1)
53
? assemblyLoadInfo.
AssemblyLocation
Utilities\AssemblyLoadInfo.cs (1)
81
return
AssemblyLocation
.GetHashCode();
MSBuild (2)
TypeLoader.cs (2)
246
throw new FileNotFoundException(null, assemblyLoadInfo.
AssemblyLocation
, e);
255
throw new FileNotFoundException(null, assemblyLoadInfo.
AssemblyLocation
);