[UWP] [Desktop Bridge] Enhancing WPF application converted to UWP by adding Cortana RRS feed

  • Question

  • Hi People,

    I followed the process described in here to convert a WPF app to UWP:

    Then, attempted to enhance the WPF application by incorporating Cortana API: by adding the reference to windows.winmd.

    I am able to register voice commands (VCD file) and all is working.  However, I am not able to receive the OnActivated call from Cortana after she acknowledges a command.

    I am guessing that the issue is that the Application instance in the WPF app is System.Windows.Application instead of the Windows.UI.Xaml.Application.

    Is there a way to receive these events in a WPF app?   (how do I register an instance of Windows.UI.Xaml.Application in WPF?)


    Juan Carlos

    Juan C. Santamaria

    Friday, October 7, 2016 1:44 PM

All replies