Skip to content

Commit 95f4b79

Browse files
committed
Fix test that was looking for API-34 for .NET 7.
1 parent 6d8677b commit 95f4b79

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/MSBuildDeviceIntegration/Tests/XASdkDeployTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ public void DotNetInstallAndRun (bool isRelease, bool xamarinForms, string targe
7474
EnableDefaultItems = true,
7575
};
7676
}
77+
78+
if (targetFramework == "net7.0-android")
79+
proj.TargetSdkVersion = "33";
80+
7781
proj.TargetFramework = targetFramework;
7882
var builder = CreateApkBuilder ();
7983
Assert.IsTrue (builder.Build (proj), "`dotnet build` should succeed");

0 commit comments

Comments
 (0)