What's New in Windows 10 for developers, build 18362
Windows 10 build 18362 (also known as SDK version 1903), in combination with Visual Studio 2019, provides the tools, features, and experiences to make remarkable Windows apps. Install the tools and SDK on Windows 10 and you’re ready to either create a new Universal Windows app or explore how you can use your existing app code on Windows.
This is a collection of new and improved features and guidance of interest to Windows developers in this release. For a full list of new namespaces added to the Windows SDK, see the Windows 10 build 18362 API changes. For more information on the highlighted features of Windows 10, see What's cool in Windows 10.
Design & UI
|AnimatedVisualPlayer||The AnimatedVisualPlayer API hosts and controls playback of animated visuals in your app. This API is used to control and display content like Lottie visuals, which allow you to render Adobe AfterEffects animations natively in your applications.|
|CompactDensity||Enabling Compact mode in your app enables dense, information-rich groups of controls. This can help with browsing large amounts of content, maximizing the visible content on a page, or aid navigation and interaction when the user is using pointer input.|
|Items Repeater||An ItemsRepeater control can create a custom experience for displaying collections to your users. ItemsRepeater does not provide a comprehensive end-user experience or a default UI. Instead, it’s a building block that you can use to create your own unique collection-based experiences and custom controls.|
|Teaching tip||A teaching tip is a semi-persistent and content-rich flyout that provides contextual information. You can use this control for informing, reminding, and teaching users about new or important features.|
|UI commanding||With commanding in UWP apps, use the XamlUICommand and StandardUICommand classes (along with the ICommand interface) to share and manage commands across various control types, regardless of the device and input type being used.|
|Windows UI Library||The latest official version of the Windows UI Library – WinUI 2.1 – provides vibrant new XAML controls for your Windows app. WinUI library APIs run on earlier versions of Windows 10, so you don’t have to include version checks or conditional XAML to supports users who aren’t on the latest OS.|
|Visual Layer in Desktop apps||You can now use the UWP Visual layer APIs in desktop applications. These APIs provide high performance retrained-mode API for graphics, effects, and animations, and are the foundation for UI across Windows devices.|
|Z-depth and shadow||Use Z-depth and shadow to create elevation in your UWP app. These new features lets you make your app's UI easier to scan, and better conveys what's important for your users to focus on.|
Develop Windows apps
|Antimalware Scan Interface (AMSI)||Learn how the Antimalware Scan Interface (AMSI) helps you defend against malware, then check out the sample code to learn how to implement it in your Desktop app.|
|C++/WinRT 2.0||Version 2.0 of C++/WinRT has been released. Check out what's new in C++/WinRT for a full run-down of all the new changes and additions.|
|Choose your platform||Interested in creating a new desktop application? Check out our revamped Choose your platform page for detailed descriptions and comparisons of the UWP, WPF, and Windows Forms platforms, and further information on the Win32 API.|
|Conversational agent||The Windows.ApplicationModel.ConversationalAgent namespace lets you add any digital assistance supported by the Windows platform Agent Activation Runtime (AAR) to your Windows app.|
|Cloud files API||The cloud files API allows you to build a cloud sync engine that supports placeholder files.|
|Direct 3D 12||Direct3D 12 render passes can improve the performance of your renderer if it's based on Tile-Based Deferred Rendering (TBDR), among other techniques. The technique helps your renderer improve GPU efficiency by enabling your application to better identify resource rendering ordering requirements and data dependencies. This reduces memory traffic to/from off-chip memory.|
|Direct Machine Learning (DirectML)||DirectML is a low-level hardware-accelerated API for machine learning. It has a familiar (native C++, nano-COM) programming interface and workflow in the style of DirectX 12. You can integrate machine learning inferencing workloads into your game, engine, middleware, backend, or other application. DirectML is supported by all DirectX 12-compatible hardware.|
|DirectX HLSL||HLSL Shader Model 6.4 provides new machine learning intrinsics for use with DirectML.|
|Driver development||New audio, camera, display, networking, mobile broadband, print, sensor, storage, and wifi features have been added for Windows driver developers. Check out What's new in driver development for further details.|
|File system operations||This best practice guide can help you best use the Windows.Storage.FileIO and Windows.Storage.PathIO classes to perform file system I/O operations.|
|Gamepad and remote control interactions||Use gamepad and remote control interactions to build usable and accessible interaction experiences. With these interactions, your application can be as intuitive and easy to use from two feet away as it is from ten feet away.|
|Japanese era change||We've provided these instructions to show you how to ensure your Windows application is ready for the Japanese era change set to take place on May 1, 2019. This page is also available in Japanese.|
|Open Source of WPF, Windows Forms, and WinUI||The WPF, Windows Forms, and WinUI UX frameworks are now available for open-source contributions on GitHub. For more information and links, see the building Windows apps blog.|
|Progressive Web Apps for Xbox||With Progressive Web Apps for Xbox One, you can extend a web application and make it available as an Xbox One app via Microsoft Store while still continuing to use your existing frameworks, CDN and server backend. For the most part, you can package your PWA for Xbox One in the same way you would for Windows. This guide will walk you through the process, and highlight the key differences.|
|Project Rome||The Project Rome SDK is now available for Android and iOS. Learn how to integrate Graph notifications with each platform: Android and iOS.|
|Remote cameras||Use the DeviceWatcher class to connect to remote cameras, and read frames from those cameras into your Windows app.|
|UWP controls in desktop applications (XAML islands)||The APIs in the Windows SDK for hosting UWP controls in WPF, Windows Forms, and C++ Win32 desktop applications are no longer in developer preview. For more information, see UWP controls in desktop applications.|
|Visual Studio 2019||Visual Studio 2019 has been released, with the latest tools and services for any developer, app, or platform. Check out What's new in Visual Studio 2019 to learn the latest and to get started.|
|Win32 WebView||Our frequently asked questions provide answers to common questions when using the Microsoft Edge WebView in desktop applications, as well as links to samples and additional resources.|
|Windows Command Line||New Console features include the experimental Terminal tab, with settings for scrolling, Cursor shape, and Cursor colors. Learn more on the Windows Command Line Tools For Developers blog.|
|Windows Community Toolkit||Windows Community Toolkit v5.1 provides exciting updates for animation, remote devices, image cropping, and accessibility.
• The new Lottie-Windows library provides high quality animation support on Windows 10 (1809) by utilizing the Windows.UI.Composition APIs, and allows for the consumption of Bodymovin JSON files or optimized code-generated classes for playback in your Windows apps. Try the new Lottie Viewer app from the Microsoft Store to test out animations and generate optimized code for your Windows apps. • The new Remote Device Picker allows a user to select a device (proximally or cloud accessible), launch an app on that device, or communicate with app services on the remote device.
• The new ImageCropper control integrates cropping functionality for selecting profile pictures or for using photo editing tools. • In addition, there have been accessibility improvements on the controls, a Microsoft.Toolkit.Win32 6.0 preview package update for WPF and WinForms, and more features that you can read about in the release notes.
|Windows Machine Learning||We've redesigned the Windows AI docs, splitting them into three areas: Windows Machine Learning (WinML), Windows Vision Skills, and Direct Machine Learning (DirectML). Check out the new landing page
• The MLGen experience is changing in Visual Studio. In Windows 10, version 1903 and later, mlgen is no longer included in the Windows 10 SDK. If you're using VS 2017, you should instead download and install the Visual Studio extension, Windows Machine Learning Code Generator VS 2017. If you're using Visual Studio 2019, you should install the Windows Machine Learning Code Generator extension. • We're also proud to announce new support for weight packing. Developers now can reduce the disk footprint of their ML models by using a technique called weight packing, made available through the WinMLTools converter.
|WinRT consolidated reference||We've added full description of the WinRT type system and WinMD files, to provide specific in-depth notes about the definitions about the structure of WinRT APIs.|
|Windows Subsystem for Linux (WSL)||Recent updates to WSL include the ability to access Linux files from Windows using File Explorer, and some new commands for wsl.exe and wslconfig.exe.|
|Windows Vision Skills||Windows Vision Skills is a set of APIs that lets you create “skills,” like facial recognition, and then package them up as a NuGet package that other apps can consume, without even needing to include a machine learning model.|
Publish & Monetize Windows apps
|MSIX||MSIX support on Windows 10 builds 1709 and 1803 describes which MSIX features are supported on versions before Windows 10, version 1809.|
|MSIX packaging and deployment||We introduced several improvements related to modification packages to make it easier to package customizations in an MSIX package. These improvements include the new rescap6:ModificationPackage element in the package manifest, the ability to override a file in the main package with a modification package, and the ability to package a file system based plug-in as an MSIX modification package.|
|MSIX Packaging Tool||• We added support for performing conversions on a remote machine. We also introduced the MSIX Packaging Tool Insider Program to offer early access to new tool features.
• MSIX Package support on 1709 and later provides guidance about using the MSIX Packaging Tool to build packages specifically for Windows 10, versions 1709 and 1803. • MSIX packaging environment on Hyper-V Quick Create shows how to create a virtual environment for MSIX packaging projects.
• Bundle MSIX packages provides instructions for creating a package bundle using the MSIX Packaging Tool. • Modification packages on Windows 10 version 1809 contains instructions for creating a modification package for Windows 10 version 1809 and later versions using the MSIX Packaging Tool and MakeApp.exe.
|MSIX SDK||Use the MSIX SDK to build a package for cross-platform use, and learn how to specify the target platforms to which you want your packages to extract.|
Microsoft Learn provides new hands-on learning and training opportunities to Microsoft developers.
If you're interested in learning how to develop Windows apps, check out our new learning path for a thorough introduction to the platform, the tools, and how to write your first few apps.
Alternately, feel free to browse all the Windows developer modules on Microsoft Learn.
Progressive Web Apps
Progressive Web Apps are web sites that function like native apps across different browsers and a wide variety of Windows 10 devices. Watch the video to learn more, and then check out the docs to get started.
VS Code series
Check out our new video series on Visual Studio Code for information about what VSCode is, how to use it, and how it was created.
Mixed Reality services
HoloLens 2 was recently announced. Check out this video series on Mixed Reality for the latest information, and how you can get involved and start developing.
One Dev Question
In the One Dev Question video series, longtime Microsoft developers cover a series of questions about Windows development, team culture, and history.