Skip to content

UWP through Windows Desktop Extensions for the UWP tool side loading WPF. Uwp can communicate with WPF, WPF can reply it.

Notifications You must be signed in to change notification settings

testtestProblem/UWP_Extension_WPF

Repository files navigation

Why need UWP extention

Universal Windows Platform (UWP). It has delicate UI by XAML. But it can not support a lot of WIN32 function. That is why we need UWP extention to unlimited it ability.

Project describe

  • Testing paltform: visual studio 2019
  • Minimum requirement: Win10, version 1809
  • Function describe: UWP through Windows Desktop Extensions for the UWP tool side loading WPF. Uwp can communicate with WPF, WPF can reply it.
  • Compile sample: UWP can not run at any CPU, and target should set Windows Application Packaging Project.
    image

UWP extention

  • This UWP_extention can side loading WPF by using FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync().

  • And should generate self-signed certification.
    image

  • Add references Windows Desktop Extensions for the UWP in UWP project.
    image

  • Modify Package.appxmanifest by adding extensions in Windows Application Packaging Project which is showed below.

<Extensions>
  <uap:Extension Category="windows.appService">
       <uap:AppService Name="SampleInteropService" />
  </uap:Extension>
	<desktop:Extension Category="windows.fullTrustProcess" Executable="WindowsFormsApp1\WindowsFormsApp1.exe" />
</Extensions>

Reference

About

UWP through Windows Desktop Extensions for the UWP tool side loading WPF. Uwp can communicate with WPF, WPF can reply it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages