I'm trying to add a precompiled dll to my webform project. The dll is a precompiled user control (not server control). When I tested the user control during development on a webform in that project everything worked fine. I then removed the web form so that only the user control remained and published it to file. Next, in the project I want to use this in, I added a reference to the dll and made sure there's a copy of it in the bin folder for the using project.
I'm not sure, but I think my problem is understanding exactly what goes in web.config (or the Registration tag), this is what I have for a Register tag:
<add assembly="CustomStatusNavigator" namespace="CustomStatusNavigator" tagPrefix="Custom" />
... where "CustomStatusNavigator is both the name of the user control project and the namespace containing my .cs code.
The error I'm getting is
The type or namespace name 'CustomStatusNavigator' does not exist in the namespace 'CustomStatusNavigator' (are you missing an assembly reference?)
Am I doing something blatantly wrong? Is it just a myth that a custom USER control can be converted to a dll and used like a custom control? Grateful for any help / pointers, good links. I have googled the heck out of this.