WinUIShell.Core 0.1.0-preview.1

This is a prerelease version of WinUIShell.Core.
dotnet add package WinUIShell.Core --version 0.1.0-preview.1
                    
NuGet\Install-Package WinUIShell.Core -Version 0.1.0-preview.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WinUIShell.Core" Version="0.1.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WinUIShell.Core" Version="0.1.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="WinUIShell.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WinUIShell.Core --version 0.1.0-preview.1
                    
#r "nuget: WinUIShell.Core, 0.1.0-preview.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package WinUIShell.Core@0.1.0-preview.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WinUIShell.Core&version=0.1.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=WinUIShell.Core&version=0.1.0-preview.1&prerelease
                    
Install as a Cake Tool

WinUIShell.Core

A reusable Windows App SDK / WinUI 3 shell for .NET 10 Windows desktop apps. It provides the familiar Windows 11/WinUI Gallery-style Mica window, native TitleBar with Search, Home navigation, and Settings page without introducing a custom visual theme.

Prerelease: This version depends on Microsoft's Microsoft.WindowsAppSDK 2.5.4-experimental. Microsoft marks some associated APIs experimental. This is not a trial version.

Requirements

  • Windows 10 version 1809 (build 17763) or later; Windows 11 recommended for the intended appearance.
  • .NET 10, a Windows App SDK / WinUI 3 application (not WPF, WinForms, ASP.NET, MAUI, or a console-only process).
  • Architecture-specific Windows App SDK native runtime. Build your application for x64 or x86, not a universal WinUI executable.
  • The host app must initialize WinUI XAML and provide XamlControlsResources in App.xaml.
  • The sample app is unpackaged (WindowsPackageType=None) and uses a self-contained Windows App SDK runtime.

Install (after publication)

dotnet add package WinUIShell.Core --version 0.1.0-preview.1

The package declares its own direct dependencies on the experimental Windows App SDK and the Windows Community Toolkit SettingsControls.

Use in your WinUI app

using Microsoft.UI.Xaml;
using WinUIShell.Core;

public sealed partial class App : Application
{
    private ShellWindow? _shell;

    public App() => InitializeComponent();

    protected override void OnLaunched(LaunchActivatedEventArgs args)
    {
        _shell = new ShellWindow();
        _shell.Activate();
    }
}

The standard shell exposes NavigationView, Navigate(Type), ApplyTheme(ElementTheme), and ApplyNavigationStyle(bool). It initially shows a blank Home page; Settings offers Light/Dark/System appearance, Left/Top navigation, and sound settings.

UI and behavior

This library is based on the MIT-licensed WinUI Gallery shell. It deliberately preserves native WinUI 3 styling; no AI Chat, custom skin, or alternative appearance is included.

The shell uses unpackaged app preferences (ApplicationData.GetForUnpackaged("HFAsif", "WinUI3OriginalShell")) for backwards compatibility. These preferences are shared with earlier samples using the same store. The sample app provides the Gallery icon at Assets/Tiles/GalleryIcon.ico — applications are responsible for providing an icon there if they want to preserve the sample's icon.

Limitations / support status

  • This is a prerelease and has an experimental Windows App SDK dependency.
  • The sample is currently tested with unpackaged WinUI 3; packaged MSIX scenarios have not been certified.
  • Consumer apps must be separately tested on Windows for startup, XAML resources and Settings interactions.
  • The NuGet package does not include a Windows application executable.
  • See the repository for the complete sample and issue reporting: https://github.com/HFAsif/WinUIGallery_Privet (the repository may be private).

Attribution

Parts of the shell are derived from Microsoft WinUI Gallery, distributed under the MIT license. Copyright notices are preserved; THIRD_PARTY_LICENSE.txt is included in the package.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows10.0.22621 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.1 106 10/8/2026

Initial prerelease: extracted, reusable .NET 10 WinUI 3 shell with sample; depends on Windows App SDK 2.5.4-experimental.