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

后端 未结 7 1743
深忆病人
深忆病人 2021-01-03 21:04

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.

7条回答
  •  甜味超标
    2021-01-03 22:02

    This can also occur if the element you're trying to add is within the tags of another element that it shouldn't be within.

    For Example:

    
        
    
    

    Or in my case, placing an in an and forgetting to put it in the :

    
        
            
    
            
        
    
    

提交回复
热议问题