File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -802,9 +802,15 @@ void Assert64Bit(string rid, bool expected64)
802802 }
803803
804804 [ Test ]
805- public void WarnWithReferenceToPreserveAttribute ( )
805+ public void WarnWithReferenceToPreserveAttribute ( [ Values ] AndroidRuntime runtime )
806806 {
807- var proj = new XamarinAndroidApplicationProject { IsRelease = true } ;
807+ const bool isRelease = true ;
808+ if ( IgnoreUnsupportedConfiguration ( runtime , release : isRelease ) ) {
809+ return ;
810+ }
811+
812+ var proj = new XamarinAndroidApplicationProject { IsRelease = isRelease } ;
813+ proj . SetRuntime ( runtime ) ;
808814 proj . AddReferences ( "System.Net.Http" ) ;
809815 proj . MainActivity = proj . DefaultMainActivity . Replace (
810816 "protected override void OnCreate" ,
You can’t perform that action at this time.
0 commit comments