File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
tests/MSBuildDeviceIntegration/Tests Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -1750,9 +1750,17 @@ public void NativeAOTSample ()
17501750 }
17511751
17521752 [ Test ]
1753- public void AppStartsWithManagedMarshalMethodsLookupEnabled ( )
1753+ public void AppStartsWithManagedMarshalMethodsLookupEnabled ( [ Values ] AndroidRuntime runtime )
17541754 {
1755- var proj = new XamarinAndroidApplicationProject { IsRelease = true } ;
1755+ const bool isRelease = true ;
1756+ if ( IgnoreUnsupportedConfiguration ( runtime , release : isRelease ) ) {
1757+ return ;
1758+ }
1759+
1760+ var proj = new XamarinAndroidApplicationProject ( packageName : PackageUtils . MakePackageName ( runtime ) ) {
1761+ IsRelease = isRelease ,
1762+ } ;
1763+ proj . SetRuntime ( runtime ) ;
17561764 proj . SetProperty ( "AndroidUseMarshalMethods" , "true" ) ;
17571765 proj . SetProperty ( "_AndroidUseManagedMarshalMethodsLookup" , "true" ) ;
17581766
You can’t perform that action at this time.
0 commit comments