How to reproduce:
1. Open the attached project "My project.zip"
2. Build the project
Expected results: Build is successful
Actual results: Build fails with error "System.InvalidOperationException: Sequence contains no matching element"
Reproducible with: 2021.3.31f1, 2022.3.10f1, 2023.1.16f1, 2023.2.0b12, 2023.3.0a8
Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested