18 references to Create
Microsoft.Build (7)
AssemblyLoadInfo.cs (1)
116
return
Create
(assemblyName, assemblyFile);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
918
returnClass = new TaskFactoryWrapper(new IntrinsicTaskFactory(typeof(MSBuild)), new LoadedType(typeof(MSBuild), AssemblyLoadInfo.
Create
(taskExecutionHostAssembly.FullName, null), taskExecutionHostAssembly, typeof(ITaskItem)), _taskName, null);
924
returnClass = new TaskFactoryWrapper(new IntrinsicTaskFactory(typeof(CallTarget)), new LoadedType(typeof(CallTarget), AssemblyLoadInfo.
Create
(taskExecutionHostAssembly.FullName, null), taskExecutionHostAssembly, typeof(ITaskItem)), _taskName, null);
Instance\TaskRegistry.cs (1)
444
taskRegistry.RegisterTask(taskName, AssemblyLoadInfo.
Create
(assemblyName, assemblyFile), taskFactory, taskFactoryParameters, parameterGroupAndTaskElementRecord, loggingContext, projectUsingTaskXml, ConversionUtilities.ValidBooleanTrue(overrideUsingTask));
Logging\LoggerDescription.cs (3)
64
_loggerAssembly = AssemblyLoadInfo.
Create
(loggerAssemblyName, loggerAssemblyFile);
284
AssemblyLoadInfo.
Create
(_loggerAssembly.AssemblyName, Path.GetFullPath(_loggerAssembly.AssemblyFile));
335
_loggerAssembly = AssemblyLoadInfo.
Create
(assemblyName, assemblyFile);
Microsoft.Build.Engine.UnitTests (11)
BackEnd\AssemblyTaskFactory_Tests.cs (1)
689
_loadInfo = AssemblyLoadInfo.
Create
(typeof(TaskToTestFactories).GetTypeInfo().Assembly.FullName, null);
BackEnd\TaskExecutionHost_Tests.cs (1)
1246
AssemblyLoadInfo loadInfo = AssemblyLoadInfo.
Create
(typeof(TaskBuilderTestTask.TaskBuilderTestTaskFactory).GetTypeInfo().FullName, null);
BackEnd\TaskRegistry_Tests.cs (8)
124
Assert.Equal(taskAssemblyLoadInfo, AssemblyLoadInfo.
Create
(assemblyName, assemblyFile)); // "Task record was not properly registered by TaskRegistry.RegisterTask!"
166
Assert.Equal(taskAssemblyLoadInfo, AssemblyLoadInfo.
Create
(assemblyName, assemblyFile == null ? null : Path.GetFullPath(assemblyFile))); // "Task record was not properly registered by TaskRegistry.RegisterTask!"
207
Assert.Equal(singletonAssemblyLoadInfo, AssemblyLoadInfo.
Create
(assemblyName, assemblyFile)); // "Task record was not properly registered by TaskRegistry.RegisterTask!"
220
if (record.TaskFactoryAssemblyLoadInfo.Equals(AssemblyLoadInfo.
Create
(assemblyName, assemblyFile)))
227
if (record.TaskFactoryAssemblyLoadInfo.Equals(AssemblyLoadInfo.
Create
(assemblyName, assemblyFile)))
271
Assert.Equal(taskAssemblyLoadInfo, AssemblyLoadInfo.
Create
(assemblyName, assemblyFile == null ? null : Path.GetFullPath(assemblyFile))); // "Task record was not properly registered by TaskRegistry.RegisterTask!"
1150
Assert.Equal(taskAssemblyLoadInfo, AssemblyLoadInfo.
Create
(expandedAssemblyName, expandedAssemblyFile == null ? null : Path.GetFullPath(expandedAssemblyFile))); // "Task record was not properly registered by TaskRegistry.RegisterTask!"
1203
Assert.Equal(taskAssemblyLoadInfo, AssemblyLoadInfo.
Create
(expandedAssemblyName, Path.GetFullPath(expandedAssemblyFile))); // "Task record was not properly registered by TaskRegistry.RegisterTask!"
TypeLoader_Tests.cs (1)
114
typeLoader.Load("TypeLoader_Tests", AssemblyLoadInfo.
Create
(null, newAssemblyLocation), useTaskHost: true);