diff --git a/src/SamplesApp/SamplesApp.UITests/SamplesApp.UITests.csproj b/src/SamplesApp/SamplesApp.UITests/SamplesApp.UITests.csproj index eca6c39017ad..e151afc49b05 100644 --- a/src/SamplesApp/SamplesApp.UITests/SamplesApp.UITests.csproj +++ b/src/SamplesApp/SamplesApp.UITests/SamplesApp.UITests.csproj @@ -8,7 +8,7 @@ $(DefineConstants);TARGET_FRAMEWORK_OVERRIDE_IOS - $(NoWarn);SYSLIB1045 + $(NoWarn);SYSLIB1045;CS1998 diff --git a/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/SwipeControlTests/SwipeControlTests.cs b/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/SwipeControlTests/SwipeControlTests.cs index dcdadeb86a3a..f10527aef787 100644 --- a/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/SwipeControlTests/SwipeControlTests.cs +++ b/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/SwipeControlTests/SwipeControlTests.cs @@ -9,9 +9,12 @@ using SamplesApp.UITests.Extensions; using SamplesApp.UITests.TestFramework; using Uno.Testing; -using Uno.UI.RuntimeTests.Helpers; using Uno.UITest.Helpers.Queries; +#if IS_RUNTIME_UI_TESTS +using Uno.UI.RuntimeTests.Helpers; +#endif + namespace SamplesApp.UITests.Windows_UI_Xaml_Controls.SwipeControlTests { [TestFixture]