Windows Community Toolkit
The Windows Community Toolkit is a rich set of controls, helpers and extensions designed to streamline Windows app development and to create great experiences for Windows. Our components are built on top of [WinUI 2](https://aka.ms/winuigithub), [WinUI 3](https://aka.ms/winui3), and [Uno Platform](https://platform.uno)!
Please read the [Getting Started with the Windows Community Toolkit](https://docs.microsoft.com/dotnet/communitytoolkit/windows/getting-started) page for more detailed information about using the Toolkit in your app.
> [!NOTE]
> If you're updating from a pre-8.x version of the Windows Community Toolkit, see [our migration notes here](https://aka.ms/toolkit/windows/migration).
##
Windows Community Toolkit Gallery app
Want to see the Toolkit in action before jumping into the code? Download and play with the [Windows Community Toolkit Gallery](https://aka.ms/windowstoolkitapp) from the Microsoft Store.
## π Contribute to the Windows Community Toolkit
Have an idea for a new feature? Want to checkout the latest things being built? [Then head over to Windows Community Toolkit Labs](https://aka.ms/toolkit/labs/windows).
Building something cool? Want to engage with other developers? Want to contribute to the Toolkit? **[Engage in the discussion here!](https://github.com/CommunityToolkit/Windows/discussions)**
## π Getting started with Windows Community Toolkit
### 1. Set up the environment
> [!NOTE]
> The Windows Community Toolkit requires [Visual Studio 2026](https://visualstudio.microsoft.com/vs/) or later and the [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0) (version specified in `global.json`) to build and Windows 10 or later to execute. If you're building an app with WinUI and Windows App SDK for the first time, follow these [installation instructions](https://learn.microsoft.com/windows/apps/get-started/start-here).
**Required [Visual Studio components](https://learn.microsoft.com/windows/apps/get-started/start-here?tabs=vs-2022-17-10#required-workloads-and-components):**
- Windows application development
- .NET desktop development
- Windows SDK 26100 (10.0.26100.0)
- Windows 10 21H1 (Build 19043) or greater
### 2. Clone the repository
The [tooling](https://github.com/CommunityToolkit/Tooling-Windows-Submodule) is in a submodule, so you'll need to use `--recurse-submodules` when cloning or pulling for the first time:
```shell
git clone --recurse-submodules https://github.com/CommunityToolkit/Windows.git
```
### 3. Run build scripts & open solution
- Run `dotnet tool restore` from the project root to install the .NET tools used by the build scripts
- Run `tooling\GenerateAllSolution.ps1` from the project root to generate `CommunityToolkit.AllComponents.slnx` (opening `.slnx` files requires Visual Studio 2026 or the .NET 10 SDK)
- Run build scripts from the [Developer Command Prompt for Visual Studio](https://learn.microsoft.com/visualstudio/ide/reference/command-prompt-powershell) or from elsewhere after adding `MSBuild.exe` to your PATH
## π Contribution
We're always looking for a helping hand, [look for issues that we need help with here](https://github.com/CommunityToolkit/Windows/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) or head over to [Windows Community Toolkit Labs](https://aka.ms/toolkit/labs/windows) to try or build new features.
Even just improving our docs and samples for existing components here, or adding new tests can be a huge help!
Check out our [Windows Community Toolkit Wiki](https://aka.ms/wct/wiki) page to learn more about contribution and guidelines in general (to be updated more soon).
## π¦ NuGet packages
NuGet is a standard package manager for .NET applications which is built into Visual Studio. When you open solution in Visual Studio, choose the *Tools* menu > *NuGet Package Manager* > *Manage NuGet packages for solutionβ¦*
There are now three sets of packages for each component, one per UI framework:
- `CommunityToolkit.Uwp.*` for UWP + WinUI 2
- `CommunityToolkit.WinUI.*` for Windows App SDK + WinUI 3
- `CommunityToolkit.Uno.*` for Uno Platform (Uno.WinUI) apps
A package only contains the assets of its own UI framework: Uno Platform apps must use the `CommunityToolkit.Uno.*` packages, which have no Windows assets (an app that targets both Uno and Windows must reference the `Uno` packages only for its Uno target frameworks and the `WinUI` packages for its Windows one). Components that only support UWP and Windows App SDK have no `Uno` package.
## π Principles
1. The toolkit will provide features that are needed for a wide-array of developers, are easy-to-use, and maintainable.
2. As soon as a comparable feature is available in the Windows SDK for Windows, it will be marked as deprecated.
3. We will fix issues forward and stay up-to-date on top of WinUI 2 and 3 updates supporting the minimum OS level that they also support.
## π Code of Conduct
This project has adopted the code of conduct defined by the [Contributor Covenant](http://contributor-covenant.org/)
to clarify expected behavior in our community.
For more information see the [.NET Foundation Code of Conduct](CODE_OF_CONDUCT.md).
## π’ .NET Foundation
This project is supported by the [.NET Foundation](http://dotnetfoundation.org).
## π Contributors
[](https://github.com/CommunityToolkit/Windows/graphs/contributors)
Made with [contrib.rocks](https://contrib.rocks).