diff --git a/eng/Microsoft.Extensions.targets b/eng/Microsoft.Extensions.targets
index 0719088e9..f45adc5dc 100644
--- a/eng/Microsoft.Extensions.targets
+++ b/eng/Microsoft.Extensions.targets
@@ -8,7 +8,7 @@
<_MicrosoftDependencyInjectionVersion>5.0.1
- <_MicrosoftProjectReunionVersion>0.5.0-prerelease
+ <_MicrosoftProjectReunionVersion>0.5.0
_disposed;
@@ -45,7 +46,8 @@ namespace Microsoft.Maui.Controls.Compatibility.Platform.UWP
{
Control.ImageOpened -= OnImageOpened;
Control.ImageFailed -= OnImageFailed;
- Microsoft.UI.Xaml.Application.Current.Resuming -= OnResumingAsync;
+ // TODO WINUI
+ //Microsoft.UI.Xaml.Application.Current.Resuming -= OnResumingAsync;
}
}
diff --git a/src/Compatibility/Core/src/Windows/Platform.cs b/src/Compatibility/Core/src/Windows/Platform.cs
index 17949bb0e..af0f3f4e7 100644
--- a/src/Compatibility/Core/src/Windows/Platform.cs
+++ b/src/Compatibility/Core/src/Windows/Platform.cs
@@ -147,7 +147,9 @@ namespace Microsoft.Maui.Controls.Compatibility.Platform.UWP
InitializeStatusBar();
SystemNavigationManager.GetForCurrentView().BackRequested += OnBackRequested;
- Microsoft.UI.Xaml.Application.Current.Resuming += OnResumingAsync;
+
+ // TODO WINUI
+ // Microsoft.UI.Xaml.Application.Current.Resuming += OnResumingAsync;
}
async void OnResumingAsync(object sender, object e)
diff --git a/src/Compatibility/Core/src/Windows/WindowsBasePage.cs b/src/Compatibility/Core/src/Windows/WindowsBasePage.cs
index 49100ad45..b73a3eb9d 100644
--- a/src/Compatibility/Core/src/Windows/WindowsBasePage.cs
+++ b/src/Compatibility/Core/src/Windows/WindowsBasePage.cs
@@ -13,8 +13,10 @@ namespace Microsoft.Maui.Controls.Compatibility.Platform.UWP
{
if (!Windows.ApplicationModel.DesignMode.DesignModeEnabled)
{
- Microsoft.UI.Xaml.Application.Current.Suspending += OnApplicationSuspending;
- Microsoft.UI.Xaml.Application.Current.Resuming += OnApplicationResuming;
+
+ // TODO WINUI
+ // Microsoft.UI.Xaml.Application.Current.Suspending += OnApplicationSuspending;
+ // Microsoft.UI.Xaml.Application.Current.Resuming += OnApplicationResuming;
}
}
diff --git a/src/Controls/samples/Controls.Sample.WinUI/App.xaml.cs b/src/Controls/samples/Controls.Sample.WinUI/App.xaml.cs
index d5a37faeb..ea68056b6 100644
--- a/src/Controls/samples/Controls.Sample.WinUI/App.xaml.cs
+++ b/src/Controls/samples/Controls.Sample.WinUI/App.xaml.cs
@@ -23,8 +23,8 @@ namespace Maui.Controls.Sample.WinUI3
public App()
{
InitializeComponent();
-
- Suspending += OnSuspending;
+ //TODO WINUI
+ //Suspending += OnSuspending;
}
///