CommunityToolkit / CommunityToolkit/Labs-Windows

Can't build wasdk gallery

Open
#669 3 comments 0 reactions 0 assignees View on GitHub
bug :bug:
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

![Image](https://github.com/user-attachments/assets/e82b666b-dbcc-459f-a3cb-ff7d4cc9ed6b)

- 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

![Image](https://github.com/user-attachments/assets/6acd6246-6c94-4518-8e30-843ea7cc0a92)

### 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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.