The Register directive for the referenced assembly
I am authoring my custom webcontrol and faced a very difficult problem. I
have two assemblies: the first one contains some base classes and the second
one contains a class which
1) Inherits a class from the first assembly
2) Contains references to the first assembly's class instances.
When I drop the control from the second assembly onto a form, it adds
references for both assemblies to the project, but it creates only one
Register directive (which defines the TagPrefix) in the aspx code. At design
time the control is displayed fine, but at run-time it throws an exception.
To solve the problem one should manually add the Register directive for the
Does anybody know what should I do to that the Register directives for both
assemblies were created automatically when one drops the control onto a
Any help is appreciated
Thank you in advance!
|All times are GMT. The time now is 07:09 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.