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/Tasks Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,16 @@ public void MissingAndroidNDK ([Values] AndroidRuntime runtime)
103103 }
104104
105105 [ Test ]
106- public void HasTrailingSlash ( )
106+ public void HasTrailingSlash ( [ Values ] AndroidRuntime runtime )
107107 {
108- var proj = new XamarinAndroidApplicationProject ( ) ;
108+ bool isRelease = runtime == AndroidRuntime . NativeAOT ;
109+ if ( IgnoreUnsupportedConfiguration ( runtime , release : isRelease ) ) {
110+ return ;
111+ }
112+
113+ var proj = new XamarinAndroidApplicationProject {
114+ IsRelease = isRelease ,
115+ } ;
109116 proj . SetProperty ( "MonoAndroidToolsDirectory" , $ "xat{ Path . DirectorySeparatorChar } ") ;
110117 proj . SetProperty ( "_JavaSdkDirectory" , $ "jdk{ Path . DirectorySeparatorChar } ") ;
111118 proj . SetProperty ( "_AndroidSdkDirectory" , $ "sdk{ Path . DirectorySeparatorChar } ") ;
You can’t perform that action at this time.
0 commit comments