In this forum post I've stated that it is for the TreeView control. It's actually for any Syncfusion control (but "Any" wasn't an option in the dropdown list).
I've created a Blazor Server solution in Visual Studio 2022 v17.10.1 and for some mind-boggling reason, I can create one razor component and have Syncfusion controls work fine and then create another razor component - in the same solution - and Syncfusion controls "aren't recognised" (as Syncfusion controls)!
I can't find any other posts on this in the forum so I assume it's something very obvious which I'm missing. But I'm blind to it.
I've attached two screen shots of my solution. Both have exactly the same code and markup. But in one, the Syncfusion controls are recognised and show up in green, whereas in the other they aren't recognised and show up in a pale grey or blue.
Intellisense says "Found markup element with unexpected name... If this is intended to be a component, add a @using statement for its namespace".
But the required @using statements are there.
I've had this problem for a while now and once or twice VS just seems to suddenly recognise the Syncfusion controls - after me not doing anything for a day or two. But that's hardly an ideal solution.
Any thoughts you have on this would be greatly appreciated.
Attachment:
same_code_but_one_recognised,_the_other_not_eca8fdc7.zip