嗨,並感謝提前閱讀。在C#中渲染htm標籤#
最近,我將我的應用程序從.net2升級到.net 4.5。一切工作正常,除了頂部的htm控制
"<html runat="server" id="pageHtm">
運行應用項目,我得到這個奇怪的解析器錯誤:
The base class includes the field 'pageHtml', but its type (System.Web.UI.HtmlControls.HtmlElement) is not compatible with the type of control (System.Web.UI.HtmlControls.HtmlGenericControl).
了很多的嘗試後,我得到了,這是一個已知的錯誤和解決方案是微軟的補丁。但是,即使安裝補丁程序後,問題仍然存在。
請添加代碼,所以我們可以看看 – Marco