none
[uwp] Make bridge with win32 application RRS feed

  • Question

  • Hello I am trying to connect UWP and win32 application.

    I referd these two sites.

    https://blogs.msdn.microsoft.com/appconsult/2016/12/19/desktop-bridge-the-migrate-phase-invoking-a-win32-process-from-a-uwp-app/

    https://stefanwick.com/2017/05/26/uwp-calling-office-interop-apis/

    Problem is the line "<desktop:Extension Category="windows.fullTrustProcess" Executable="Win32\Excel.Interop.exe" />"

    in the package.appmanifest file show error msg "Namespace prefix desktop is not defined"

    I already installed "Windows Desktop Extensions for the UWP (WindowsDesktop, Version=10.0.17134.0)"

    I have no idea to solve this problem

    those anyone know how to solve this problem?

    I will waiting for your answer

    Thanks for reading.

    Thursday, August 23, 2018 12:36 AM

Answers

  • Have you defined the desktop namespace prefix?

    <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" 
             xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" 
             xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" 
             xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" 
             xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" 
             IgnorableNamespaces="uap mp rescap desktop">

    Thursday, August 23, 2018 1:25 AM

All replies

  • Have you defined the desktop namespace prefix?

    <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" 
             xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" 
             xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" 
             xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" 
             xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" 
             IgnorableNamespaces="uap mp rescap desktop">

    Thursday, August 23, 2018 1:25 AM
  • Oh I solve problem by your answer.

    Even It metioned at the metioned blog.

    It shame on me.

    I had to read more detail.

    Thanks a lot.


    • Edited by kang88 Monday, August 27, 2018 7:26 AM
    Monday, August 27, 2018 7:21 AM
  • Congratulations!
    Monday, August 27, 2018 7:32 AM