6 writes to AssemblyFile
Microsoft.Build (1)
Construction\ProjectUsingTaskElement.cs (1)
252
usingTask.
AssemblyFile
= FileUtilities.FixFilePath(assemblyFile);
Microsoft.Build.Engine.OM.UnitTests (5)
Construction\ConstructionEditing_Tests.cs (1)
2626
element.
AssemblyFile
= "af2";
Construction\ProjectUsingTaskElement_Tests.cs (2)
252
usingTask.
AssemblyFile
= "afb";
281
usingTask.
AssemblyFile
= "afb";
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (2)
495
usingTaskFile.VerifySetter("newAssemblyPath", (ut) => ut.AssemblyFile, (ut, v) => ut.
AssemblyFile
= v);
514
Assert.ThrowsAny<InvalidOperationException>(() => usingTaskName.View.
AssemblyFile
= "xxx");
27 references to AssemblyFile
Microsoft.Build (5)
Construction\ProjectUsingTaskElement.cs (2)
74
ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(
AssemblyFile
), "OM_EitherAttributeButNotBoth", XMakeElements.usingTask, XMakeAttributes.assemblyFile, XMakeAttributes.assemblyName);
274
return owner.CreateUsingTaskElement(TaskName,
AssemblyFile
, AssemblyName, Runtime, Architecture);
Instance\TaskRegistry.cs (3)
335
if (projectUsingTaskXml.
AssemblyFile
.Length > 0)
337
assemblyFile = expander.ExpandIntoStringLeaveEscaped(projectUsingTaskXml.
AssemblyFile
, expanderOptions, projectUsingTaskXml.AssemblyFileLocation);
349
projectUsingTaskXml.
AssemblyFile
,
Microsoft.Build.Engine.OM.UnitTests (7)
Construction\ProjectUsingTaskElement_Tests.cs (4)
193
Assert.Equal("af", usingTask.
AssemblyFile
);
207
Assert.Equal(String.Empty, usingTask.
AssemblyFile
);
221
Assert.Equal(String.Empty, usingTask.
AssemblyFile
);
253
Assert.Equal("afb", usingTask.
AssemblyFile
);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
769
Assert.Equal(realXml.
AssemblyFile
, viewXml.
AssemblyFile
);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
495
usingTaskFile.VerifySetter("newAssemblyPath", (ut) => ut.
AssemblyFile
, (ut, v) => ut.AssemblyFile = v);
Microsoft.Build.Engine.UnitTests (14)
BackEnd\TaskRegistry_Tests.cs (14)
123
string assemblyFile = String.IsNullOrEmpty(taskElement.
AssemblyFile
) ? null : taskElement.
AssemblyFile
;
164
string assemblyFile = String.IsNullOrEmpty(taskElement.
AssemblyFile
) ? null : taskElement.
AssemblyFile
;
206
string assemblyFile = String.IsNullOrEmpty(elementList[1].
AssemblyFile
) ? null : elementList[1].
AssemblyFile
;
219
assemblyFile = String.IsNullOrEmpty(elementList[0].
AssemblyFile
) ? null : elementList[0].
AssemblyFile
;
226
assemblyFile = String.IsNullOrEmpty(elementList[2].
AssemblyFile
) ? null : elementList[2].
AssemblyFile
;
270
string assemblyFile = String.IsNullOrEmpty(taskElement.
AssemblyFile
) ? null : taskElement.
AssemblyFile
;
1136
string expandedAssemblyFile = RegistryExpander.ExpandIntoStringAndUnescape(taskElement.
AssemblyFile
, ExpanderOptions.ExpandPropertiesAndItems, taskElement.AssemblyFileLocation);
1193
string expandedAssemblyFile = RegistryExpander.ExpandIntoStringAndUnescape(taskElement.
AssemblyFile
, ExpanderOptions.ExpandPropertiesAndItems, taskElement.AssemblyFileLocation);
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
255
evaluatedTaskAssemblyPath = EvaluateIfNecessary(usingTask.
AssemblyFile
, containingProject);