CommunityToolkit / CommunityToolkit/Labs-Windows
Can't build wasdk gallery
- Dominant language
- C#
- Stars
- 482
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
I have double checked all the build requirements:
- Visual studio 2022, obviously
- .net8 sdk
```
C:\Users\Peter>dotnet --list-sdks
8.0.408 [C:\Program Files\dotnet\sdk]
9.0.203 [C:\Program Files\dotnet\sdk]
```
- Windows 10 19041 sdk

- Windows 10 21H1 higher, obviously I am using windows 11
- `dotnet tool restore` ran
- `GenerateAllSolution.bat` ran
And I still can't build the gallery app with wasdk target
[build log.txt](https://github.com/user-attachments/files/20041044/build.log.txt)
### Steps to reproduce
```text
1. Open the `CommunityToolkit.AllComponents.sln`, click `CommunityToolkit.App.Wasdk` target, click debug
2. See attached build log
```
### Expected behavior
Builds fine
### Screenshots

### Code Platform
- [ ] UWP
- [x] WinAppSDK / WinUI 3
- [ ] Web Assembly (WASM)
- [ ] Android
- [ ] iOS
- [ ] MacOS
- [ ] Linux / GTK
### Windows Build Number
- [ ] Windows 10 1809 (Build 17763)
- [ ] Windows 10 1903 (Build 18362)
- [ ] Windows 10 1909 (Build 18363)
- [ ] Windows 10 2004 (Build 19041)
- [ ] Windows 10 20H2 (Build 19042)
- [ ] Windows 10 21H1 (Build 19043)
- [ ] Windows 11 21H2 (Build 22000)
- [x] Other (specify)
### Other Windows Build number
windows 11 24H2
### App minimum and target SDK version
- [ ] Windows 10, version 1809 (Build 17763)
- [ ] Windows 10, version 1903 (Build 18362)
- [ ] Windows 10, version 1909 (Build 18363)
- [x] Windows 10, version 2004 (Build 19041)
- [ ] Other (specify)
### Other SDK version
_No response_
### Visual Studio Version
2022
### Visual Studio Build Number
17.13.6
### Device form factor
Desktop
### Additional context
Actually, why am I seeing Android build errors
### Help us help you
Yes, I'd like to be assigned to work on this item.
Contributor guide
Assessment
This issue has not been assessed yet.