If you are someone who is working on the Windows Desktop bridge to bring your Win32 apps to the Windows Store, then UWPDesktop Nuget Package will make your development process a lot easier.
The ‘UWPDesktop’ Nuget package will enable you to call any supported UWP API without needing additional references.
Beforehand, calling UWP APIs from a converted app was a befuddling procedure. You needed to discover and reference the appropriate .dll or .winmd, and it frequently wasn’t evident which one to pick.
For example, to use “await” on UWP types, you had to reference the System.Runtime.WindowsRuntime.dll (c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5\
System.Runtime.WindowsRuntime.dll), which was actually from Windows 8.1 and therefore only worked in conjunction with “facade\windows.winmd” (c:\Program Files (x86)\Windows Kits\10\UnionMetadata\Facade\Windows.WinMD).
AppServiceConnectionStatus status = await connection.OpenAsync();
Confusing, right? The new way is much simpler – just include the latest UWPDesktop NuGet package to your project, and you’re ready to call any supported UWP API without needing additional references.
For more information on the Nuget package and how to install it on your IDE, visit this page