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