Publish to Windows error if using referenced Maui Class Library #13869
Labels
area-publishing
Issues with the app packaging/publishing process (ipk/apk/msix/trimming)
platform/windows 🪟
t/bug
Something isn't working
Description
When creating a simple Maui App and adding and referencing a Maui Class Library the App cannot be published targeting windows:
"Improper project configuration: WindowsPackageType is set to None, but PublishAppxPackage is set to true."
The problem is confirmed with any available Visual Studio:
VS 2022 17.5.1, 17.6.0 Preview 1.0
Steps to Reproduce
Link to public reproduction project repository
https://github.com/techscgh/MauiClassLibraryPublishError2023
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 10, Windows 11
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: