News

New Visual Studio Workload Highlights Microsoft's 'Renewed Focus' on WinUI

Developers doing Windows apps have a confusing arsenal of tools and frameworks to work with, but Microsoft is simplifying things a bit with a new Visual Studio workload that highlights the company's "renewed focus" on the Windows UI Library (WinUI).

WinUI, what Microsoft calls its native user experience (UX) framework for building modern Windows applications, is just one choice for that task, which in the Microsoft-centric camp can also be done with the Windows App SDK, WPF (Windows Presentation Foundation), Windows Forms (WinForms), UWP (Universal Windows Platform), .NET MAUI (Multi-platform App UI), Blazor Hybrid, C++ and more.

What's more, the latest version, WinUI 3, is wholly separate from the WinUI 2 framework, which works primarily with UWP apps. Microsoft years ago tried to tie UWP and Win32 development together in what it called "Project Reunion," from which the Windows App SDK emerged and where WinUI now lives as the native UI component.

Desktop Options
[Click on image for larger view.] Desktop Options (source: Microsoft).

All of those moving parts may confuse some developers who just want to build Windows apps, hence Microsoft's "renewed focus" on WinUI, exemplified by a new workload for Visual Studio 17.10, which debuted in May at the company's Build developer conference.

"In Visual Studio 17.10, the new 'Windows application development' workload is now available for developers to jump right in and get started with writing stylish, modern, and fast WinUI apps using .NET or C++ with only one click," Microsoft's Duncan MacMichael said today (July 2) in a post on the company's Developer Blogs site. "This workload replaces the older 'Universal Windows Platform development' workload with tools aimed at the latest generation of WinUI + the Windows App SDK."

The Windows Application Development Workload
[Click on image for larger view.] The Windows Application Development Workload (source: Microsoft).

MacMichael noted that as part of the company's effort to make WinUI "one of the premier app development frameworks we recommend for native Windows app development," the team created a new Windows Dev Center page and streamlined its Get started with WinUI guidance along with partnering up with the Visual Studio team for the new workload and improved templates.

Previously, he indicated, developers had to manually search for each required component to develop with WinUI and the Windows App SDK. Addressing feedback the team made WinUI in the Windows App SDK more prominent so the latest tools and APIs are more accessible, available with just one click.

The team also repositioned some of the most-used WinUI templates on the New Project screen and gussied them up with a new icon, all as part of the renewed focus on WinUI.

MacMichael listed these steps to get started:

  1. Open the Visual Studio Installer.
  2. Under Workloads > Desktop & Mobile, select the "Windows application development" workload.
    • If you're developing in C#, congrats, you're finished! The workload includes .NET WinUI app development tools by default.
  3. If you'd like to develop in C++ or if you need the tools for Universal Windows Development, select the optional 'C++ WinUI app development tools' component. This will automatically select the Universal Windows Platform tools and C++ Universal Windows Platform tools components.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube