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

后端 未结 7 1692
深忆病人
深忆病人 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 21:47

    I found that the issur was resolved when I changed the Build Action from "content" to "compile" for the .ascx file and afterwards chaned it back.

提交回复
热议问题