I have a set of web controls that are in the assembly referenced by the website. I can create and run everything without problems, however, when I look at the aspx page where the controls are used, I get a green underline under the tag prefix.
<%@ Register Assembly="MyProject.UI.ControlLibrary" Namespace="MyProject.UI.ControlLibrary.Web" TagPrefix="ControlLibrary" %>
<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" Runat="Server">
<ControlLibrary:ListView ID="List" runat="server"/>
</asp:Content>
So, in this example, I get a green underline in the ControlLibrary, and when I hover over it, it says that the unrecognized tag prefix or device filter is "ControlLibrary"
The code was written in a previous version of Visual Studio, I have another assembly that also contains web controls and seems to work fine.
Any ideas on what might cause the problem?
Stephen lacy
source
share