2 overrides of AssemblyFile
Microsoft.Build (2)
AssemblyLoadInfo.cs (2)
149
public override string
AssemblyFile
195
public override string
AssemblyFile
21 references to AssemblyFile
Microsoft.Build (19)
AssemblyLoadInfo.cs (3)
97
return (this.AssemblyName == otherAssemblyInfo.AssemblyName) && (this.
AssemblyFile
== otherAssemblyInfo.
AssemblyFile
);
104
string assemblyFile =
AssemblyFile
;
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
322
_resolver.Initialize(_taskFactoryWrapper.TaskFactoryLoadedType.Assembly.
AssemblyFile
);
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
275
string assemblyName = loadInfo.AssemblyName ?? Path.GetFileName(loadInfo.
AssemblyFile
);
Instance\TaskRegistry.cs (1)
1405
resolver.Initialize(taskFactoryLoadInfo.
AssemblyFile
);
Logging\LoggerDescription.cs (6)
97
!string.IsNullOrEmpty(_loggerAssembly.
AssemblyFile
))
99
return _loggerClassName + ":" + _loggerAssembly.
AssemblyFile
;
107
return _loggerAssembly.
AssemblyFile
?? _loggerAssembly.AssemblyName;
281
if (_loggerAssembly.
AssemblyFile
!= null)
284
AssemblyLoadInfo.Create(_loggerAssembly.AssemblyName, Path.GetFullPath(_loggerAssembly.
AssemblyFile
));
313
writer.WriteOptionalString(_loggerAssembly.
AssemblyFile
);
TaskLoader.cs (3)
133
if (loadedType.Assembly.
AssemblyFile
!= null)
135
taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceFromAndUnwrap(loadedType.Assembly.
AssemblyFile
, loadedType.Type.FullName);
150
loadedType.Assembly.
AssemblyFile
,
TypeLoader.cs (4)
172
return Assembly.UnsafeLoadFrom(assemblyLoadInfo.
AssemblyFile
);
191
string path = assemblyLoadInfo.
AssemblyFile
;
326
if (useTaskHost && _assemblyLoadInfo.
AssemblyFile
is not null)
401
MSBuildEventSource.Log.LoadAssemblyAndFindTypeStop(_assemblyLoadInfo.
AssemblyFile
, numberOfTypesSearched);
Microsoft.Build.Engine.UnitTests (2)
Instance\ProjectInstance_Internal_Tests.cs (2)
74
project.TaskRegistry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("t0", null)][0].TaskFactoryAssemblyLoadInfo.
AssemblyFile
.ShouldBe(Path.Combine(Directory.GetCurrentDirectory(), "af0"));
75
project.TaskRegistry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("t1", null)][0].TaskFactoryAssemblyLoadInfo.
AssemblyFile
.ShouldBe(Path.Combine(Directory.GetCurrentDirectory(), "af1a"));