Skip to content

Commit d674e7b

Browse files
committed
condition to reduce warnings for net9.0 builds od tests
1 parent d1a50a0 commit d674e7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/allpackages/TestAllIndividualPackages.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ static void AddPackagesToProjectFile (string filename, BinderatorConfigFileParse
225225

226226
var root = xml.DocumentElement!;
227227
var item_group = xml.CreateElement ("ItemGroup");
228+
item_group.SetAttribute ("Condition", "$(TargetFramework.Contains('-android')) == true");
228229
root.AppendChild (item_group);
229230

230231
foreach (var package in packages) {

0 commit comments

Comments
 (0)