Eariler this month, Windows Anniversary Update alongwith a new Windows Software Developer Kit (SDK) for Windows 10 was made available.
Today, to enable developer community to collaborate and contribute new capabilities on top of the SDK—Microsoft has just announced the open-source "UWP Community Toolkit" project.
The SDK containing tools, app templates, platform controls, Windows Runtime APIs, emulators and much more, to help create innovative and compelling Universal Windows apps.
So what is a UWP Community Toolkit? The app team explains, "the toolkit can be used to build UWP apps for any Windows 10 device, including PC, Mobile, XBOX, IoT and HoloLens."
Please note, at this time, "the toolkit is compatible with apps developed with Windows 10 SDK Build 10586 or above."
Additionally, the toolkit can also be used with an existing desktop app converted to UWP using the Desktop Bridge. And, it support any new or existing UWP application written in C# or VB.NET.
The company plan to add support for latest and previous stable release of the SDK.
In addition, a new UWP Community Toolkit Sample App in the Windows Store is released today.
The app makes it easy to preview the toolkit capabilities even before installing the tools or downloading the SDK. Additonally, it'll also allow you to easily copy & paste the code you will need to get started using the toolkit in your project.
Here are just some of the features included in the first release of the toolkit:
In the future, the team said they'll release stable updates through the Visual Studio NuGet package at a regular cadence.
If you'd like to get started with the UWP Toolkit, first download Visual Studio 2015 Update 3 and Windows 10 SDK here. , and in a UWP project, you'll have to add the NuGet package. You can find it by searching for "Microsoft.Toolkit.UWP".
- Create a new UWP project (or open an existing one)
- Launch Visual Studio 2015
- Create a new project using the Blank App template under Visual C# ? Windows ? Universal
- Add the UWP Community Toolkit to your project
- In Solution Explorer panel, right click on your project name and select "Manage NuGet Packages"
- Search for "Microsoft.Toolkit.UWP"
- Select desired packages and install them
- Add a reference to the toolkit in your XAML pages or C#
a. In your XAML page, add a reference at the top of your page
- You can copy & paste code snippets for each feature from the Sample App, or find more details in the documentation, the team explained.