Skip to content

Commit 7e3f8f4

Browse files
committed
InstallAndRunTests.DotNetInstallAndRunMinorAPILevels updated
1 parent d3b5211 commit 7e3f8f4

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,16 +1240,22 @@ public void DotNetInstallAndRunPreviousSdk (
12401240

12411241
[Test]
12421242
public void DotNetInstallAndRunMinorAPILevels (
1243-
[Values (false, true)] bool isRelease,
1244-
[Values ("net10.0-android36.1")] string targetFramework)
1243+
[Values] bool isRelease,
1244+
[Values ("net10.0-android36.1")] string targetFramework,
1245+
[Values] AndroidRuntime runtime)
12451246
{
1246-
var proj = new XamarinAndroidApplicationProject () {
1247+
if (IgnoreUnsupportedConfiguration (runtime, release: isRelease)) {
1248+
return;
1249+
}
1250+
1251+
var proj = new XamarinAndroidApplicationProject (packageName: PackageUtils.MakePackageName (runtime)) {
12471252
TargetFramework = targetFramework,
12481253
IsRelease = isRelease,
12491254
ExtraNuGetConfigSources = {
12501255
Path.Combine (XABuildPaths.BuildOutputDirectory, "nuget-unsigned"),
12511256
}
12521257
};
1258+
proj.SetRuntime (runtime);
12531259

12541260
// TODO: update on new minor API levels to use an introduced minor API
12551261
proj.MainActivity = proj.DefaultMainActivity

0 commit comments

Comments
 (0)