diff --git a/ModernFlyouts.Core/Interop/NativeFlyoutHandler.cs b/ModernFlyouts.Core/Interop/NativeFlyoutHandler.cs
index 4584e473..434296be 100644
--- a/ModernFlyouts.Core/Interop/NativeFlyoutHandler.cs
+++ b/ModernFlyouts.Core/Interop/NativeFlyoutHandler.cs
@@ -352,7 +352,7 @@ private bool GetAllInfos()
String outerName = "";
String innerClass = "";
String innerName = "";
- if (buildNumber >= 22000)
+ if (buildNumber >= 22620) // 22H2 changes the OSD
{
outerClass = "XamlExplorerHostIslandWindow";
innerClass = "Windows.UI.Composition.DesktopWindowContentBridge";
diff --git a/ModernFlyouts.Core/ModernFlyouts.Core.csproj b/ModernFlyouts.Core/ModernFlyouts.Core.csproj
index 39740d40..d48d38d6 100644
--- a/ModernFlyouts.Core/ModernFlyouts.Core.csproj
+++ b/ModernFlyouts.Core/ModernFlyouts.Core.csproj
@@ -1,20 +1,20 @@
- net6.0-windows10.0.19041.0
+ net9.0-windows10.0.19041.0
x86;x64;arm64
- win10-x64;win10-x86;win10-arm64
+ win-x64;win-x86;win-arm64
true
preview
-
-
+
+
-
-
+
+
diff --git a/ModernFlyouts.Package/ModernFlyouts.Package.wapproj b/ModernFlyouts.Package/ModernFlyouts.Package.wapproj
index 5773fc9f..7c5a3132 100644
--- a/ModernFlyouts.Package/ModernFlyouts.Package.wapproj
+++ b/ModernFlyouts.Package/ModernFlyouts.Package.wapproj
@@ -41,7 +41,7 @@
True
False
SHA256
- True
+ False
True
x86|x64|arm64
0
@@ -122,9 +122,12 @@
True
- Properties\PublishProfiles\win10-$(Platform).pubxml
+ Properties\PublishProfiles\win-$(Platform).pubxml
+
+
+
<_TemporaryFilteredWapProjOutput Include="@(_FilteredNonWapProjProjectOutput)" />
diff --git a/ModernFlyouts.Package/Package.appxmanifest b/ModernFlyouts.Package/Package.appxmanifest
index 46d24019..db72c82c 100644
--- a/ModernFlyouts.Package/Package.appxmanifest
+++ b/ModernFlyouts.Package/Package.appxmanifest
@@ -11,7 +11,7 @@
+ Version="0.9.8622.0" />
ms-resource:Resources/PackageDisplayName
@@ -78,7 +78,7 @@
- net6.0-windows10.0.19041.0
+ net9.0-windows10.0.19041.0
x86;x64;arm64
- win10-x64;win10-x86;win10-arm64
+ win-x64;win-x86;win-arm64
true
WinExe
en-US
@@ -24,17 +24,20 @@
-
-
+
+
+
+
+
-
-
-
+
+
+
diff --git a/ModernFlyouts/Properties/PublishProfiles/win10-arm64.pubxml b/ModernFlyouts/Properties/PublishProfiles/win-arm64.pubxml
similarity index 80%
rename from ModernFlyouts/Properties/PublishProfiles/win10-arm64.pubxml
rename to ModernFlyouts/Properties/PublishProfiles/win-arm64.pubxml
index 9b9e3636..7eef9570 100644
--- a/ModernFlyouts/Properties/PublishProfiles/win10-arm64.pubxml
+++ b/ModernFlyouts/Properties/PublishProfiles/win-arm64.pubxml
@@ -8,11 +8,11 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
arm64
bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\
FileSystem
- net6.0-windows10.0.19041.0
- win10-arm64
+ net9.0-windows10.0.19041.0
+ win-arm64
true
True
- False
+ True
False
true
diff --git a/ModernFlyouts/Properties/PublishProfiles/win10-x64.pubxml b/ModernFlyouts/Properties/PublishProfiles/win-x64.pubxml
similarity index 80%
rename from ModernFlyouts/Properties/PublishProfiles/win10-x64.pubxml
rename to ModernFlyouts/Properties/PublishProfiles/win-x64.pubxml
index 6d0b570b..861ff051 100644
--- a/ModernFlyouts/Properties/PublishProfiles/win10-x64.pubxml
+++ b/ModernFlyouts/Properties/PublishProfiles/win-x64.pubxml
@@ -8,11 +8,11 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
x64
bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\
FileSystem
- net6.0-windows10.0.19041.0
- win10-x64
+ net9.0-windows10.0.19041.0
+ win-x64
true
True
- False
+ True
False
true
diff --git a/ModernFlyouts/Properties/PublishProfiles/win10-x86.pubxml b/ModernFlyouts/Properties/PublishProfiles/win-x86.pubxml
similarity index 80%
rename from ModernFlyouts/Properties/PublishProfiles/win10-x86.pubxml
rename to ModernFlyouts/Properties/PublishProfiles/win-x86.pubxml
index ae5c80a1..1b0f2b24 100644
--- a/ModernFlyouts/Properties/PublishProfiles/win10-x86.pubxml
+++ b/ModernFlyouts/Properties/PublishProfiles/win-x86.pubxml
@@ -8,11 +8,11 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
x86
bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\
FileSystem
- net6.0-windows10.0.19041.0
- win10-x86
+ net9.0-windows10.0.19041.0
+ win-x86
true
True
- False
+ True
False
true
diff --git a/ModernFlyoutsBridge/ModernFlyoutsBridge.vcxproj b/ModernFlyoutsBridge/ModernFlyoutsBridge.vcxproj
index 4e738d21..0cfaf5e9 100644
--- a/ModernFlyoutsBridge/ModernFlyoutsBridge.vcxproj
+++ b/ModernFlyoutsBridge/ModernFlyoutsBridge.vcxproj
@@ -37,7 +37,7 @@
DynamicLibrary
true
- v142
+ v143
Unicode
diff --git a/ModernFlyoutsHost/ModernFlyoutsHost.vcxproj b/ModernFlyoutsHost/ModernFlyoutsHost.vcxproj
index 88e5aa41..d12d1cc5 100644
--- a/ModernFlyoutsHost/ModernFlyoutsHost.vcxproj
+++ b/ModernFlyoutsHost/ModernFlyoutsHost.vcxproj
@@ -37,7 +37,7 @@
Application
false
- v142
+ v143
Unicode