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 22using System . IO ;
33using Xamarin . ProjectTools ;
44using Microsoft . Build . Framework ;
5+ using Xamarin . Android . Tasks ;
56
67namespace Xamarin . Android . Build . Tests
78{
89 [ Parallelizable ( ParallelScope . Children ) ]
910 public class DeferredBuildTest : BaseTest
1011 {
1112 [ Test ]
12- public void SelectivelyRunUpdateAndroidResources ( )
13+ public void SelectivelyRunUpdateAndroidResources ( [ Values ] AndroidRuntime runtime )
1314 {
15+ bool isRelease = runtime == AndroidRuntime . NativeAOT ;
16+ if ( IgnoreUnsupportedConfiguration ( runtime , release : isRelease ) ) {
17+ return ;
18+ }
1419 var path = Path . Combine ( "temp" , TestName ) ;
1520 var app = new XamarinAndroidApplicationProject {
21+ IsRelease = isRelease ,
1622 ProjectName = "MyApp" ,
1723 } ;
1824
25+ app . SetRuntime ( runtime ) ;
1926 app . SetProperty ( "AndroidUseManagedDesignTimeResourceGenerator" , "True" ) ;
2027 app . SetProperty ( "AndroidUseIntermediateDesignerFile" , "True" ) ;
2128
You can’t perform that action at this time.
0 commit comments