Open
Description
Description
Attempt to deploy new Maui project "maui_app" results in (incorrect/misleading) error message:
The project needs to be deployed before we can debug. Please enable Deploy in the Configuration Manager.
Steps to Reproduce
- Create new project using Maui .Net App template.
- Give it a name containing an underscore ("maui_app")
- Run on Windows Machine
Expected:
Runs and shows Welcome to .NET Multi-platform App UI Home screen.
Actual:
(incorrect/misleading) error message:
The project needs to be deployed before we can debug. Please enable Deploy in the Configuration Manager.
NOTES:
- Deploy is checked.
- Attempts to fix by cleaning project, etc. have no effect.
ROOT CAUSE:
- this line in csproj:
<ApplicationId>com.companyname.maui_app</ApplicationId>
WORK-AROUND:
- remove underscore(s) from ApplicationID:
<ApplicationId>com.companyname.mauiapp</ApplicationId>
Link to public reproduction project repository
No response
Version with bug
8.0.61 SR6.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
latest Windows 11 stable
Did you find any workaround?
ROOT CAUSE:
- this line in csproj:
<ApplicationId>com.companyname.maui_app</ApplicationId>
WORK-AROUND:
- remove underscore(s) from ApplicationID:
<ApplicationId>com.companyname.mauiapp</ApplicationId>
Relevant log output
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment