You are here
Home > Latest Posts > Latest News > Microsoft announces UWPDesktop NuGet Package Version 14393

Microsoft announces UWPDesktop NuGet Package Version 14393

Command Line

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

Source

Shafat

Shafat has more than 5 years of Tech journalism experience. He likes to write about latest Tech and Gadgets. He is a proud Lumia 950 owner and Windows fan. He has been covering Tech and Gadget news on other well-known Tech sites GadgetOx and Nokiapoweruser since long. He loves to code and is a proficient developer.
Write to him at Email: [email protected]

Top