1 write to _importFilename
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\ProtectImports_Tests.cs (1)
107
_importFilename
= Microsoft.Build.Shared.FileUtilities.GetTemporaryFileName() + ".targets";
6 references to _importFilename
Microsoft.Build.Engine.OM.UnitTests (6)
Definition\ProtectImports_Tests.cs (6)
108
File.WriteAllText(
_importFilename
, importContents);
116
if (File.Exists(
_importFilename
))
118
File.Delete(
_importFilename
);
504
string expanded = original.Replace("$importFilename",
_importFilename
);
529
Assert.Equal(
_importFilename
, item.Xml.ContainingProject.FullPath); // "Item was not found in the imported project."
620
Assert.Equal(
_importFilename
, property.Xml.ContainingProject.FullPath); // "Property was not found in the imported project."