© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
53 replies
Sal

Maui issues after changing namespace

yesterday I had the briliant idea of changing the name of my app because i made it open source and previously was just a "personal" name, but anyway the issue is that visual studio now says that doesnt recognise "Maui" "Application" "MainPage" etc this part mostly started to appear when i changed the namespace on the xaml files "x:Class" but before there were issues mainly this
Error    NU1105    Unable to read project information for 'Invasion1DGame': Sequence contains more than one element    Invasion1DGame
Error    NU1105    Unable to read project information for 'Invasion1DGame': Sequence contains more than one element    Invasion1DGame

I currently reversed the project to a commit ago but the issue persists, I am not sure why because i just changed the name after committing.
I tried AI to help but it repeats itself and nothing worked, i search for all instances of the previous name and and i had changed all, i cant clean and rebuild because it fails, i deleted .vs folder but i couldnt open the solution after had to open the project, but nothing made a difference.
another error i got was regarding the manifest for android but i dont really know what to do in there. any help would be appreciated
for reference https://github.com/Saleca/Invasion1DGame
I didnt clone from the site so i hope the main branch is working fine, but that main should be the one i am currently having issues after reversing the commit, the problem with the new name is on the branch "ChangeRootNamespace"
thanks either way
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

❔ The type or namespace name 'MAUI' does not exist in the namespace 'Microsoft'
C#CC# / help
4y ago
Maui TitleBar transparency & changing Caption Control colors?
C#CC# / help
3y ago
✅ Namespace?
C#CC# / help
3y ago
namespace missing imports after copying class [Answered]
C#CC# / help
4y ago