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 @@ -1739,9 +1739,17 @@ public void NativeAOTSample ()
17391739 }
17401740
17411741 [ Test ]
1742- public void AppStartsWithManagedMarshalMethodsLookupEnabled ( )
1742+ public void AppStartsWithManagedMarshalMethodsLookupEnabled ( [ Values ] AndroidRuntime runtime )
17431743 {
1744- var proj = new XamarinAndroidApplicationProject { IsRelease = true } ;
1744+ const bool isRelease = true ;
1745+ if ( IgnoreUnsupportedConfiguration ( runtime , release : isRelease ) ) {
1746+ return ;
1747+ }
1748+
1749+ var proj = new XamarinAndroidApplicationProject ( packageName : PackageUtils . MakePackageName ( runtime ) ) {
1750+ IsRelease = isRelease ,
1751+ } ;
1752+ proj . SetRuntime ( runtime ) ;
17451753 proj . SetProperty ( "AndroidUseMarshalMethods" , "true" ) ;
17461754 proj . SetProperty ( "_AndroidUseManagedMarshalMethodsLookup" , "true" ) ;
17471755
You can’t perform that action at this time.
0 commit comments