Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Import of a User Control in GAC

Thread Tools

Import of a User Control in GAC

Manuel Lopez
Posts: n/a

I am trying to share User Controls.

I want all the codehind of a User Control to be a compiled DLL and
have this DLL in the GAC.

I have this declarative in the user control:

<%@ Control Language="vb" AutoEventWireup="false"
TargetSchema="" %>

I have omited the codehind and placed the UserControls DLL in the GAC.
From my web application i reference the usercontrols.dll, and since
itīs in the GAC it doesnīt copy the DLL to the BIN folder, which is
what itīs supposed to do.

But when i execute the web application it complains that it canīt find
the dll.

This is fixed by placing the dll in the BIN folder.(Which doesnīt help
since we would have to copy this dll to all the all the applications.

Is there a way to to make a user control to inherit from a dll in the

Many Thanks.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Control to Control Other User Control Jonathan Wood ASP .Net 4 02-02-2010 03:41 PM
persisting changes to a control outside a user control from the user control? Mad Scientist Jr ASP .Net 0 03-22-2006 08:02 AM
Problems with User Controls in IE from the GAC Colin Orr via .NET 247 ASP .Net 1 01-24-2005 01:40 AM
Problems with User Controls in IE from the GAC Colin Orr via .NET 247 ASP .Net 1 11-17-2004 02:09 PM
GAC and User Controls Manuel Lopez ASP .Net 1 12-02-2003 04:53 PM