How to reproduce:
1, Create a new Unity project
2, Build the project for UWP
3, Open the built Solution in Visual Studio
4, Select Project>Publish
Expected results: "Create App Packages..." is not greyed out
Actual results: "Create App Packages..." is greyed out
Reproducible with: 2021.3.30f1, 2022.3.8f1, 2023.1.11f1, 2023.2.0b7, 2023.3.0a3
Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested