I\'ve a user control which contains asp:Literal.
It depends on exactly how you're including the controls in your web.config. It will not work if you try to include all of the controls in a namespace (although the designer will correctly show you the list of your controls):
<add tagPrefix="prefix" namespace="example.ui.controls" assembly="example.ui" />
But if you add your control(s) individually and point to their physical location(s), it will work as you expect without having to include endless @Register
directives.
<add tagPrefix="prefix" tagName="Message" src="~/Controls/Message.ascx" />