-   Notifications  You must be signed in to change notification settings 
- Fork 3.5k
Compiling From Source
The NuGet package are backwards compatible and can be used in any WPF application (targeting .NET Framework 4.6.2 or later) with any version of Visual Studio. If you wish to compile the library from source, it will REQUIRE Visual Studio 2022 (version 17.4 or later; C# 12 compiler is required) with .NET 8.0.100 SDK or later installed. You will need to ensure that you have enabled the .NET desktop development workflow from the Visual Studio Installer. Finally, due to the various projects in the main solution you will need to ensure that you have the .NET Framework 4.6.2 and 4.7.2 SDKs installed. The easiest way to do this is to open the Visual Studio Installer and select Modify. From there select the "Individual components" tab at the top and select the ".NET Framework 4.6.2 targeting pack" and the ".NET Framework 4.7.2 targeting pack".
The main project is contained within the MaterialDesignToolkit.Wpf.slnf file located at the root of the repository. This is the file you want to open in Visual Studio.
Launch Visual Studio and set the startup project to be Demos\MaterialDesignDemo, compile and run (or simply press F5).
If you see any mistake or want to contribute to this wiki feel free.
Home
 Contributing
 Compiling From Source
 Glossary
Getting Started with MDIX
     Getting Started
     Tutorial On YouTube (português-BR)
     Frequently Asked Questions
     Examples Repository
Release Notes
     Pack Icon Changes     2.0.0 Breaking Changes
Controls
     All Control Styles
     Buttons
     ComboBox
     Dialogs
     PopupBox
     Snackbar
     TextBox
     Toggle Button
     Transitions
     Icons
Theming
     Advanced Theming
     Brush Names
     Custom Palette Hues
     Fonts
     Overriding Material Design Styles
     Swatches and Recommended Colors
Miscellaneous
     MahApps Integration
     Performance
     Strong Naming
     .NET 4.0 Compatibility
     Projects using Material Design
     Understanding Routed Commands