Hi all,
I have developed a custom web control that inherits from the WebControl base
class. I have also added a designer so that there is some design-time
information in VS.NET (2003).
However, I want to add the control to my global assembly cache. No problem
there, until I try to use it.
If I specify the Register directive as follows:
Assembly="MyAssemblyName, version=1.0.0.0, culture=Neutral,
publicKeyToken=abc..."
then the control renders properly on the actual web page. However, the
control does not render at all in the VS.NET designer. Worse, none of the
web controls (even Microsoft's) don't render anymore...
I am certain the info provided in the Assembly attribute is correct, because
if I change it to something incorrect, the page no longer renders in the
browser.
Seems like a catch-22: if I copy the DLL locally and specify only its name
in the tag it works both ways. But if I want to do it the right way and have
the DLL only in the GAC, I can't get any designers to work.
Any ideas about how to work around this?
--
---
Sven.