I'm trying to register a "Custom Control" (not a "User Control") on an aspx page from an assembly, but at runtime I get the error: "The directive is missing a 'src' attribute".
My Register directive on the page is:
<%@ Register TagPrefix="cc" Namespace="CMS.Controls.Content" Assembly="CMS.Controls" %>
As far as I know, the
src attribute of the
Register directive is only used when registering a "User Control" (i.e. a control defined by an ascx-file).
Why could I be getting this error when I'm registering a Custom Control via assembly? I made sure the assembly ("CMS.Controls.dll") is in the bin directory of my project.