File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,20 @@ public void SelectivelyRunUpdateAndroidResources ([Values] AndroidRuntime runtim
6161 }
6262
6363 [ Test ]
64- public void RunUpdateAndroidResourcesIfBackgroundBuildNotSupported ( )
64+ public void RunUpdateAndroidResourcesIfBackgroundBuildNotSupported ( [ Values ] AndroidRuntime runtime )
6565 {
66+ bool isRelease = runtime == AndroidRuntime . NativeAOT ;
67+ if ( IgnoreUnsupportedConfiguration ( runtime , release : isRelease ) ) {
68+ return ;
69+ }
70+
6671 var path = Path . Combine ( "temp" , TestName ) ;
6772 var app = new XamarinAndroidApplicationProject {
73+ IsRelease = isRelease ,
6874 ProjectName = "MyApp" ,
6975 } ;
7076
77+ app . SetRuntime ( runtime ) ;
7178 app . SetProperty ( "AndroidUseManagedDesignTimeResourceGenerator" , "True" ) ;
7279 app . SetProperty ( "AndroidUseIntermediateDesignerFile" , "True" ) ;
7380
You can’t perform that action at this time.
0 commit comments