Hello!
Running VS22 and Xamarin.Forms 4.8.0.1269
I've got an app in Xamarin.Forms used for Windows and Android.
We've recently had to rename the entire project and in doing so changing the name of all the namespaces and folders. I've triple checked and everything seems in place.
It runs in windows with no issues.
When trying to compile for android i get the following errors:
CS0117 'Resource.Layout' does not contain a definition for 'Tabbar'
CS0117 'Resource.Layout' does not contain a definition for 'Toolbar'
Checking the Resource.designer.cs, (the autogenerated android layout script) it sure doesn't contain a definition for it.
The folder containing the layout is in /Resources/layout/Tabbar.xml.
Checking the file from my previous Git, it does contain the Tabbar definition, so i'm not sure whats causing this. Ive renamed projects in the past, without running into this issue.
Ive tried:
- Cleaning the project and rebuilding
- Deleting the Resource.designer.cs file and regenerating it
- Copied the definition from previous gitted resource designer
- Renaming the xml files to lowercase (even though its never been lowercase)
- Restarting Visual Studio
I really hope some genius knows why Android suddenly doesnt generate my resource.designer properly.
Thanks for reading!
-NK