Replies: 3 comments 4 replies
-
I know that the tools don't work that well with multiple applications per package. But I know for sure that the "Entry point" setting isn't what you think it is. According to the uap:Extension documentation, it is a WinRT type, so it would be like the entry point for the application, not the ID for the applicaion.
The extension is grouped with an application. I would honestly suggest you look at the XML to see what is going on, and make sure that the protocols are grouped with the application it is meant to activate. Finally, there aren't any samples available for multiple applications in a single package. But the Windows App SDK samples have a single application in the package, for the packaged versions. None of these specify an executable or an entry point. This means that it gets the activation information from the application that it is grouped with. |
Beta Was this translation helpful? Give feedback.
-
No. 2023-08-18.02-38-17.mp4The manifest is what you see there. The code for this is:
Sure, it is C++, but you should get the idea. The Xaml window only has a text block control named myTextBlock. --Edit-- |
Beta Was this translation helpful? Give feedback.
-
Thank you once again for your response. However, I believe you are only using 1 app and 1 package. The issue actually involves 3 projects ("main," "settings," and "package"). By default in Visual Studio, I run the "package" project, and by default, it runs the "main" project (=the target entry point). Nevertheless, when I type or click a button in my "main" app ("settings://hello"), it should open the other "settings" window. But still see the same crash issue. |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I have 2 WinUI3 applications in a package project, both with protocol schemes such as "settings" and "main." However, when I try to open the protocol using the Run window with "settings://," it crashes.
I'm using 2 "blank app packaged" WinUI3 projects and 1 "packaged".
Do you have any ideas on how to solve this issue? Or perhaps a working sample that I could refer to?
Beta Was this translation helpful? Give feedback.
All reactions