Files
YMhut-box-C-/参考/wpfui-main/docs/documentation/nuget.md
T
2026-07-06 23:05:40 +08:00

32 lines
1.9 KiB
Markdown

# NuGet package for WPF UI
## What's NuGet?
NuGet is a free, open-source package management system for the Microsoft .NET platform. It simplifies the process of finding, installing, and managing third-party libraries and tools in .NET projects. NuGet allows developers to easily add functionality to their projects without having to manually download and reference external libraries. It also provides a way for developers to publish and share their own packages with the .NET community. Overall, NuGet makes it easier to manage dependencies in .NET projects and helps to improve productivity for developers.
- [Read more here](https://learn.microsoft.com/en-us/nuget/what-is-nuget)
- [How to install NuGet packages](https://learn.microsoft.com/en-us/nuget/consume-packages/overview-and-workflow#ways-to-install-a-nuget-package=)
- [Install and manage packages in Visual Studio using the NuGet Package Manager](https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-visual-studio)
## How to install **WPF UI** in Visual Studio using the NuGet Package Manager?
### 1. Create new WPF project
![New project in Visual Studio](https://user-images.githubusercontent.com/13592821/192056284-0efcefa6-990e-4ef6-ab44-5746e4bf66ed.png)
### 2. Open _Manage NuGet Packages_ window via solution explorer
![Manage NuGet Packages](https://user-images.githubusercontent.com/13592821/192056354-4f5a46c1-d02f-4c7b-8822-c8cd6f105ed1.png)
### 3. In the _Browse_ tab, enter "**WPF-UI**"
![Browse tab in NuGet](https://user-images.githubusercontent.com/13592821/192056603-d9c48b4d-b9f1-485a-80cf-9fd27d8e55d7.png)
### 4. Install **WPF-UI** package
![Package installed](https://user-images.githubusercontent.com/13592821/192056761-186336dd-3aed-450c-b036-bbfdc6b73e74.png)
# Done!
Package installed, to learn more, go to the [**Getting started**](/documentation/getting-started.html) page.