Skip to content

Commit 80f90c7

Browse files
committed
Port test fix.
1 parent 70f7ce7 commit 80f90c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/MSBuildDeviceIntegration/Tests/DebuggingTest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,10 @@ public Foo ()
430430
lib.TargetFramework = "net7.0-android";
431431
app.TargetFramework = "net7.0-android";
432432
}
433+
434+
if (app.TargetFramework == "net7.0-android")
435+
app.TargetSdkVersion = "33";
436+
433437
app.SetProperty ("AndroidPackageFormat", packageFormat);
434438
app.MainPage = app.MainPage.Replace ("InitializeComponent ();", "InitializeComponent (); new Foo ();");
435439
app.AddReference (lib);

0 commit comments

Comments
 (0)