Found Markup Element with Unexpected Name

Upgraded to the latest version 5.3.5 from 4.34.1 and now getting several warnings like the following:

|Warning (active)|RZ10012|Found markup element with unexpected name 'PageTitle'. If this is intended to be a component, add a @using directive for its namespace.|D:\Code\MyProject\MyProject.csproj ({1FAA5DD7-4856-4A13-8F83-76524A2AB735})|D:\Code\MyProject\Components\PurgeRequests.razor|9|||

Cleared out bin and obj folders, updated to latest version of VS2022 and still getting them. Project compiles and runs fine so is there any way to clear these up? The warnings only appear when the component is open on a tab.

1 Like

Hi @gknierim-me,

The PageTitle component is not part of the Radzen.Blazor component library. I don't think upgrading the component library could case such a warning in any way.

I know it isn't but its one of many warnings along with Radzen components being involved but this morning since restarting VS, the warnings are no longer there.

I have the same error today after upgrading to latest version.
All worked perfectly before.

Did you find a solution?

Just kept restarting VS until it finally went away. No real solution I know.