1 write to TargetAppConfigContent
Microsoft.Build.Tasks.UnitTests (1)
GenerateBindingRedirects_Tests.cs (1)
337TargetAppConfigContent = File.ReadAllText(outputAppConfig),
13 references to TargetAppConfigContent
Microsoft.Build.Tasks.UnitTests (13)
GenerateBindingRedirects_Tests.cs (13)
57redirectResults.TargetAppConfigContent.ShouldContain("<assemblyIdentity name=\"System\" publicKeyToken=\"b77a5c561934e089\" culture=\"neutral\" />"); 58redirectResults.TargetAppConfigContent.ShouldContain("newVersion=\"40.0.0.0\""); 90redirectResults.TargetAppConfigContent.ShouldContain("MyAssembly"); 91redirectResults.TargetAppConfigContent.ShouldContain("<bindingRedirect oldVersion=\"0.0.0.0-40.0.0.0\" newVersion=\"40.0.0.0\""); 136redirectResults.TargetAppConfigContent.ShouldContain($"oldVersion=\"0.0.0.0-{serviceBusRedirect.MaxVersion}\""); 137redirectResults.TargetAppConfigContent.ShouldContain($"newVersion=\"{serviceBusRedirect.MaxVersion}\""); 139redirectResults.TargetAppConfigContent.ShouldContain($"oldVersion=\"0.0.0.0-{webHttpRedirect.MaxVersion}\""); 140redirectResults.TargetAppConfigContent.ShouldContain($"newVersion=\"{webHttpRedirect.MaxVersion}\""); 142XElement targetAppConfig = XElement.Parse(redirectResults.TargetAppConfigContent); 290redirectResults.TargetAppConfigContent.ShouldContain("<assemblyIdentity name=\"System\" publicKeyToken=\"b77a5c561934e089\" culture=\"neutral\" />"); 291redirectResults.TargetAppConfigContent.ShouldContain("newVersion=\"40.0.0.0\""); 307redirectResults2.TargetAppConfigContent.ShouldContain("<assemblyIdentity name=\"System\" publicKeyToken=\"b77a5c561934e089\" culture=\"neutral\" />"); 308redirectResults2.TargetAppConfigContent.ShouldContain("newVersion=\"40.0.0.0\"");