2 overrides of AssemblyFile
Microsoft.Build (2)
AssemblyLoadInfo.cs (2)
149
public override string
AssemblyFile
195
public override string
AssemblyFile
18 references to AssemblyFile
Microsoft.Build (16)
AssemblyLoadInfo.cs (3)
97
return (this.AssemblyName == otherAssemblyInfo.AssemblyName) && (this.
AssemblyFile
== otherAssemblyInfo.
AssemblyFile
);
104
string assemblyFile =
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
);
TypeLoader.cs (5)
174
string baseDir = Path.GetDirectoryName(assemblyLoadInfo.
AssemblyFile
);
176
return s_coreClrAssemblyLoader.LoadFromPath(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"));