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