question

AzatTazayan avatar image
0 Votes"
AzatTazayan asked NicoZhu-MSFT answered

VisualStudio XAML Live Debugging Tools in UWP

I'm trying to create some in app menu tool like the one "Visual Studio XAML Live Debugging" has

82791-image.png



This menu is working bot for WPF and UWP, I did some researches how is done in VS. My findings are that VS uses "Microsoft.VisualStudio.DesignTools.WpfTap.dll" and "Microsoft.VisualStudio.DesignTools.UwpTap.dll" dll's form "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\XamlDiagnostics" for this functionality. The WPF case is pretty simple VS loads that dll to debugged process and creates separate window (HWND) for hosting this menu. But for UWP the things are a little bit complicated the VS also loads the UwpTap.dll to debugged process but in this case this menu is not separate window (HWND) I checked with Spy++. The UwpTap.dll contains InAppMenu XAML as resource (Checked with DotPeek ) and this XAML is used display menu content. My questions is how this Menu (XAML) is attached to UWP app CoreWindow but the app XAML tree not changed that mean there is some other technology ? How can I show such menu in any UWP app?. Could someone help me.

not-supported
image.png (18.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

NicoZhu-MSFT avatar image
0 Votes"
NicoZhu-MSFT answered

Hello, Welcome to Micorosoft Q&A,

Currently, Microsoft Q&A supports the products listed over here: supported topics (more to be added later on). Above case description is about Visual Studio tool working principle for UWP xaml window, and it is out of the support scope. We suggest you post this problem in Visual Studio forum or send the feed back with Visual Studio.

Thanks
Nico Zhu


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.