Cannot resolve theme:LightTheme

Hi, I'm new to Xamarin and hoped the Essentials UI kit might make life a bit easier.

I created a single page starter Xamarin.Forms project with Visual Studio 2019, updated the Xamarin.Forms to the latest version in NuGet. I then picked a few pages from the Essentials extension, allowed the code to update and then tried to compile. The compiler fails with the following message:


XFC0000 Cannot resolve type "themes:LightTheme". in App.xaml


As this is a completely blank project I don't think there should be any existing code it could be clashing with, is there an easy fix to ensure the code compiles? 

Any help for a newbie much appreciated.


3 Replies

AH Andrew Hoke October 5, 2021 10:47 PM UTC

Providing your App.xaml source code will make providing assistance easier, even if it was generated by a tool and you didn't update it.



DD Devakumar Dhanapoosanam Syncfusion Team October 6, 2021 02:49 PM UTC

Hi Ross, 
 
Greetings from Syncfusion. 
 
Currently, we are validating the reported scenario and we will update you further details on or before the October 8, 2021. We appreciate your patience until then. 

Meanwhile can you please share App.xaml file which will be helpful for us to providing you better solution at the earliest?

 
Regards, 
Devakumar D 



GM Gayathri Manickam Syncfusion Team October 7, 2021 11:29 AM UTC

Hi Ross, 
 
We have analyzed your query and followed the steps provided but, we cannot reproduce the reported issue at our end.  
 
If possible, could you please share tested sample which will be helpful for us to provide you better solution at the earliest.  
 
Please find the tested sample below, 
 
 
To fix the blank project issue, open the App.xaml.cs and make the following changes. 
 
Example: If you added Article tile page, 
MainPage = new Views.ArticleTilePage();  
 
Please refer the below link, 
 
Please let us know, if you need any further assistance on this. 
 
 
Thanks, 
Gayathri M. 
 


Loader.
Up arrow icon