Hello,
We have user controls that we want to share between
applications.
We have a web app that has only the ascx, this is a sub
virtual root of all our applications.
What we have done is generated a dll will all the codehind
of the User Controls.
This dll is registered in the GAC, and the other
applications reference the location of the dll.(It doesnīt
copy the assembly, which is what itīs supposed to do)
The problem is when we load a page that uses one of these
user controls, we get an error that it can load type:
<%@ Control Language="vb" AutoEventWireup="false"
Inherits="UserControls.Header"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5
" %>
If i copy the UserControls.dll to the BIN folder of the
Web application everything works fine.
But then what itīs the use of the GAC'ed dll?
Is it possible to inherit in the control directive from a
dll that is not in the bin folder?
Many Thanks,
Manuel