Element <element> is not a known element warning in Visual Studio when using User controls

chris picture chris · Jan 29, 2009 · Viewed 68.3k times · Source

I have a Visual Studio 2008 project that is showing the following warning when using User Controls, and I haven’t been able to find a solution anywhere.

Element <element>is not a known element

How can I fix this?

Answer

Jason Snelders picture Jason Snelders · Sep 25, 2009

This sounds like a classic re-build your solution and "close and re-open Visual Studio" problem.

It's possible it may also be related to a similar problem I had which I answered at Resolving "Validation (): Element ‘xxxx’ is not supported" warning in Visual Studio 2005/2008.