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