mirror of
https://github.com/LanZhan-Harmony/WindowsMusicPlayer-TheUntamedMusicPlayer.git
synced 2026-05-06 19:20:18 +08:00
17 lines
993 B
Markdown
17 lines
993 B
Markdown
先决条件:
|
||
- 您的计算机必须运行 Windows 10 内部版本 17763 或更高版本。
|
||
- 安装最新版本的 Visual Studio(社区版就足够了)。
|
||
- 安装“WinUI应用程序开发”工作负载。
|
||
<img width="1600" height="900" alt="image" src="https://github.com/user-attachments/assets/d91003b0-cee6-4448-a551-4589c198dd7c" />
|
||
|
||
- 获取代码:
|
||
```
|
||
git clone https://github.com/LanZhan-Harmony/WindowsMusicPlayer-TheUntamedMusicPlayer.git
|
||
```
|
||
|
||
- 在 Visual Studio 中打开 UntamedMusicPlayer.sln。
|
||
- 在 Visual Studio 中点击“工具”→”选项“→”NuGet包管理器“→”程序包源“→右上角+号。新建一个名称为Community Toolkit Labs,源为https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-Labs/nuget/v3/index.json 的包源。
|
||
<img width="1453" height="777" alt="image" src="https://github.com/user-attachments/assets/b2aee828-7ad5-4a59-a60c-bffb50699c80" />
|
||
|
||
- 重启项目并运行代码。
|