Windows 10 SDK

The Windows 10 SDK for Windows 10, version 1803 provides the latest headers, libraries, metadata, and tools for building Windows 10 apps.

Note: Windows 10 development targeting Windows 10, version 1803 (or later) requires Visual Studio 2017. This SDK will not be discovered by previous versions of Visual Studio.

Getting started

By enabling the Universal Windows Platform development work stream in the Visual Studio installer, the Windows SDK will be installed.

Before you install this SDK:

  1. Review all system requirements in this topic.
  2. Exit Visual Studio 2017 RTM prior to installation. If Visual Studio is running, it is possible the SDK Setup will fail. Learn more about common tool issues.
  3. Review the Known Issues in this topic.

System requirements

The Windows SDK has the following minimum system requirements:

Supported operating systems

  • Windows 10 App Development (UWP)
    • Windows 10 version 1507 or higher: Home, Professional, Education, and Enterprise (LTSB and S are not supported)
    • Windows Server 2012 R2 (Command line only) Windows Server 2016 (Command Line only)
  • Win32 Development
    • Windows 10 version 1507 or higher
    • Windows Server 2016: Standard and Datacenter
    • Windows 8.1
    • Windows Server 2012 R2
    • Windows 7 SP1

(Not all tools are supported on earlier operating systems)

Hardware requirements

  • 1.6 GHz or faster processor
  • 1 GB of RAM
  • 4 GB of available hard disk space

Additional SDK requirements

Installation on Windows 8.1 and earlier operating systems requires KB2999226. To install through Windows Update, make sure you install the latest recommended updates and patches from Microsoft Update before you install the Windows SDK.

What's new

The Windows 10 SDK for Windows 10, version exposes a number of exciting new APIs and platforms for developing your Universal Windows apps. Learn more about the about the new features in Windows 10, version 1803.

Tools

CPPWinRT

The C++/WinRT headers and cppwinrt compiler (cppwinrt.exe) are now included in the Windows SDK. The compiler comes in handy if you need to consume a third-party WinRT component or if you need to author your own WinRT components with C++/WinRT. For more information, see: C++/WinRT blog.

MLGen

Mlgen is a command-line that generates a set of strongly-typed classes to access an ONNX model programmatically with Windows Machine Learning APIS. For more information, refer to the documentation.

StoreUploader

StoreUploader is a tool that allows developers to efficiently upload packages to the Microsoft Store. The tool supports uploading regular packages and bundles, as well as flat bundles, and will automatically create and upload delta packages when possible and when favorable over a full upload.

Note: currently, the tool does not have support for full Submission automation to the Microsoft Store (after uploading packages, the developer has to complete the Submission process on the Dev Center web portal to be able publish the app).

VM State dump

VmSavedStateDumpProvider.dll exposes a set of APIs that aid in the extraction of dump related content from a Hyper-V Virtual Machine saved state file. For more information refer to the documentation.

Samples

Windows 10 app samples are now available through GitHub. You can browse the code on GitHub, clone a personal copy of the repository using Git, or download a zipped archive of all the samples. We welcome feedback, so feel free to open an issue within the repository if you have a problem or question. These samples are designed to run on desktop, mobile, and future devices that support the Universal Windows Platform.

Previous SDK versions

The previously released SDKs and emulators, including update details, can be found on the archive page.

Breaking Changes

New MIDL key words.

As a part of the "modernizing IDL" effort, several new keywords are added to the midlrt tool. These new keywords will cause build breaks if they are encountered in IDL files.

The new keywords are:

  • event
  • set
  • get
  • partial
  • unsealed
  • overridable
  • protected
  • importwinmd

To find out more about this change, please see How to use Winmdidl.exe and Midlrt.exe.

Known issues

Using the Windows 10 April 2018 Update SDK (Version 17134) with the Xbox April 2018 Update

If you try to deploy an app built with the Windows 10 April 2018 Update SDK (Version 17134) to your Xbox, it will fail with the following error:

DEP3321: To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.17134.0 or higher. You currently are running version 10.0.17133.2020. Please update your OS, or change your deployment target to a device with the appropriate version.

For internal testing purposes, you can change the MinTargetVersion Dependency in your Package.appxmanifest to 17133.

TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17133.0" MaxVersionTested="10.0.17134.0"

But when you submit your app, set the min version to 17134.

This issue will be fixed in the May Xbox Update.

Exit Visual Studio first

The Windows SDK may fail to install and report Fatal Error if Visual Studio is currently running. Please exit Visual Studio prior to installation.

API Light Up

When targeting using new APIs, consider writing your app to be adaptive in order to run correctly on the widest number of Windows 10 devices. Please see dynamically detecting features with API contracts (10 by 10) for more information. For the latest release notes or issues with tools, see the Windows Developer Forum.