Visual studio .aspx中添加到web.config页面/控件元素的新标记的Intellisense
在控件节点中添加元素时,.aspx不会立即反映它。通常,在开发过程中,它会在我以前可以使用它的时候出现 显然VisualStudio在某处使用了缓存。如何刷新该缓存,以便在.aspx中获取intellisense的属性以及其他内容Visual studio .aspx中添加到web.config页面/控件元素的新标记的Intellisense,visual-studio,web-config,intellisense,Visual Studio,Web Config,Intellisense,在控件节点中添加元素时,.aspx不会立即反映它。通常,在开发过程中,它会在我以前可以使用它的时候出现 显然VisualStudio在某处使用了缓存。如何刷新该缓存,以便在.aspx中获取intellisense的属性以及其他内容 <pages> <controls> <add tagPrefix="asp" namespace="System.Web.DomainServices.WebControls" assembly="Syste
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.DomainServices.WebControls" assembly="System.Web.DomainServices.WebControls"/>
</controls>
</pages>
也可以尝试假设它是与主程序集不同的程序集:
<add assembly="System.Web.DomainServices.WebControls, Version=...."/>
显然,您将在代码背后遇到错误。注释导致错误的代码。构建解决方案。然后取消对代码的注释。构建解决方案。看看它是否起作用