File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -870,11 +870,18 @@ public void LinkAssembliesNoShrink ([Values] AndroidRuntime runtime)
870870 }
871871
872872 [ Test ]
873- public void CSProjUserFileChanges ( )
873+ public void CSProjUserFileChanges ( [ Values ] AndroidRuntime runtime )
874874 {
875+ bool isRelease = runtime == AndroidRuntime . NativeAOT ;
876+ if ( IgnoreUnsupportedConfiguration ( runtime , release : isRelease ) ) {
877+ return ;
878+ }
875879 AssertCommercialBuild ( ) ;
876880
877- var proj = new XamarinAndroidApplicationProject ( ) ;
881+ var proj = new XamarinAndroidApplicationProject {
882+ IsRelease = isRelease ,
883+ } ;
884+ proj . SetRuntime ( runtime ) ;
878885 var selectedDevice = "foo" ;
879886 var csproj_user_file = $ "{ proj . ProjectName } .csproj.user";
880887 proj . Sources . Add ( new BuildItem . NoActionResource ( csproj_user_file ) {
You can’t perform that action at this time.
0 commit comments