diff --git a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.cs b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.cs index 6dfc984b06c2..179de1e5b0e2 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.cs @@ -37,6 +37,10 @@ using Uno.UI.Toolkit.Extensions; using KeyEventArgs = Windows.UI.Core.KeyEventArgs; +#if !HAS_UNO_WINUI +using Windows.UI.Input; +#endif + #if __IOS__ using UIKit; #elif __MACOS__