A Microsoft platform for building and publishing apps for Windows devices.
Hi @Raja Shanmugam ,
Thank you for the update and for sharing your solution that using the Windows Application Packaging (WAP) Project works for this scenario.
While adding a Win32 executable directly to a traditional UWP .appxmanifest often works locally (sideloaded), Store deployment imposes stricter boundaries. A classic UWP project structure doesn't always guarantee that out-of-process Win32 dependencies, COM server identities, and runtime trust contexts are perfectly carried over through the Store's compilation and ingestion process.
The Windows Application Packaging Project could in theory bridge this. While I cannot be certain of the exact internal failure without a dump, it is likely that migrating to WAP resolved the issue because it correctly wires up the activation pathways between different project types (managed UWP vs native Win32). When you manually add a Win32 executable to a classic UWP project, the Store submission compilation (which separates architecture-specific payloads and strips framework dependencies) often strips or misaligns the native library pathways or deployment layout. A WAP project acts as a unified orchestrator, ensuring that when the .msixupload is built for the Store, the native C++ dependencies, COM execution aliases, and Trust/Capabilities are preserved properly alongside the managed UI.
I am glad to hear the issue is resolved. If you found my responses helpful or informative during your troubleshooting process, I would greatly appreciate it if you could provide feedback by interacting with the system or leaving a comment below.
Thank you.