CommunityToolkit / CommunityToolkit/Tooling-Windows-Submodule

Why do you remove wasdk target when both "uwp, wasdk" are specified in `GenerateAllSolution.ps1`?

Offen
#247 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug :bug:
Vorherrschende Sprache
C#
Sterne
55
Forks
19
Ø Merge
40 Min.
Gemergte PRs (30 T.)
1

Beschreibung

### Describe the bug

I just wasted several hours trying to figure out why is my wasdk gallery project suddenly missing in the main toolkit project. And I finally found [this out](https://github.com/CommunityToolkit/Tooling-Windows-Submodule/blob/9f2cd6730a313e47fca61e53728d8c9f88cd8dad/GenerateAllSolution.ps1#L65). I don't understand what this comment is saying. And from my experience, the two gallery (the uwp, and wasdk) works perfectly in peace before.

And if that's a necessary change, you should [document it](https://github.com/CommunityToolkit/Windows/wiki/Quick-Start#building-the-entire-solution) clearly (and oh look even the screenshots is not reflecting the change), and also change the [`GenerateAllSolution.bat`](https://github.com/CommunityToolkit/Windows/blob/906519524a9dc61118f4f65fb727a3031ecf3ebf/GenerateAllSolution.bat#L3) to an option like:
- uwp, wasm
- wasdk, wasm

The current default value is just a confusing contradiction to what you did, and will keep others wasting more hours on this.

Oh and a more funny thing is, why removing `wasdk` target instead of `uwp` when `uwp` is considered dead?
### Steps to reproduce

```text
n/a
```

### Expected behavior

n/a

### Screenshots

_No response_

### Code Platform

- [x] 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)
- [ ] Other (specify)

### Other Windows Build number

_No response_

### App minimum and target SDK version

- [ ] Windows 10, version 1809 (Build 17763)
- [ ] Windows 10, version 1903 (Build 18362)
- [ ] Windows 10, version 1909 (Build 18363)
- [ ] Windows 10, version 2004 (Build 19041)
- [ ] Other (specify)

### Other SDK version

_No response_

### Visual Studio Version

_No response_

### Visual Studio Build Number

_No response_

### Device form factor

_No response_

### Additional context

_No response_

### Help us help you

Yes, I'd like to be assigned to work on this item.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne bei Zeile 65 von GenerateAllSolution.ps1 und Zeile 3 von GenerateAllSolution.bat, um nachzuverfolgen, wie die Ziele uwp und wasdk ausgewählt oder entfernt werden. Vergleiche dieses Verhalten mit den Build-Anweisungen und Screenshots unter Quick Start; abgeschlossen ist die Aufgabe, wenn die unterstützten Zielkombinationen, das Standardverhalten und die Dokumentation übereinstimmen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
powershell
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.