File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
tests/MSBuildDeviceIntegration/Tests Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments