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)
108File.WriteAllText(_importFilename, importContents); 116if (File.Exists(_importFilename)) 118File.Delete(_importFilename); 504string expanded = original.Replace("$importFilename", _importFilename); 529Assert.Equal(_importFilename, item.Xml.ContainingProject.FullPath); // "Item was not found in the imported project." 620Assert.Equal(_importFilename, property.Xml.ContainingProject.FullPath); // "Property was not found in the imported project."