1 write to AppConfigFile
Microsoft.Build.Tasks.Core (1)
FindAppConfigFile.cs (1)
128
AppConfigFile
= item;
13 references to AppConfigFile
Microsoft.Build.Tasks.Core (3)
FindAppConfigFile.cs (3)
133
AppConfigFile
.SetMetadata("OriginalItemSpec", item.ItemSpec);
135
AppConfigFile
.SetMetadata(ItemMetadataNames.targetPath, TargetPath);
137
Log.LogMessageFromResources(MessageImportance.Low, "FindInList.Found",
AppConfigFile
.ItemSpec);
Microsoft.Build.Tasks.UnitTests (10)
FindAppConfigFile_Tests.cs (10)
25
Assert.Equal("app.config", f.
AppConfigFile
.ItemSpec);
26
Assert.Equal("targetpath", f.
AppConfigFile
.GetMetadata("TargetPath"));
38
Assert.Equal("app.config", f.
AppConfigFile
.ItemSpec);
39
Assert.Equal("targetpath", f.
AppConfigFile
.GetMetadata("TargetPath"));
51
Assert.Equal(FileUtilities.FixFilePath("foo\\app.config"), f.
AppConfigFile
.ItemSpec);
52
Assert.Equal("targetpath", f.
AppConfigFile
.GetMetadata("TargetPath"));
64
Assert.Null(f.
AppConfigFile
);
77
Assert.Equal(FileUtilities.FixFilePath(@"foo\\app.config"), f.
AppConfigFile
.ItemSpec);
94
Assert.Equal("app.config", f.
AppConfigFile
.ItemSpec);
95
Assert.Equal(item2.GetMetadata("id"), f.
AppConfigFile
.GetMetadata("id"));