Q
Qwert
Hello,
I have custom dll which I link to like this:
<%@ Register TagPrefix="MyDLL" Namespace="MyDLL" Assembly="MyDLL" %>
which works. Only strange thing is when I put the dll file in the \bin
directory of the directory with the .aspx file it doens't find the dll. I
have to put in it the \bin directory of the 'wwwroot'. Why is this?
Everywhere i read that it has to be in \bin of the directory with the .apsx
file.
I have another DLL which uses "System.Windows.Forms". This second DLL I
can't get to work, because ASP.NET can't find the DLL
"System.Windows.Forms". I thought that all DLL's that are in the GAC are
automatically found? How do I add a reference in my .aspx file to
"System.Windows.Forms"? The following code doesn't work:
<%@ Register Assembly="System.Windows.Forms" %>
Thanks.
I have custom dll which I link to like this:
<%@ Register TagPrefix="MyDLL" Namespace="MyDLL" Assembly="MyDLL" %>
which works. Only strange thing is when I put the dll file in the \bin
directory of the directory with the .aspx file it doens't find the dll. I
have to put in it the \bin directory of the 'wwwroot'. Why is this?
Everywhere i read that it has to be in \bin of the directory with the .apsx
file.
I have another DLL which uses "System.Windows.Forms". This second DLL I
can't get to work, because ASP.NET can't find the DLL
"System.Windows.Forms". I thought that all DLL's that are in the GAC are
automatically found? How do I add a reference in my .aspx file to
"System.Windows.Forms"? The following code doesn't work:
<%@ Register Assembly="System.Windows.Forms" %>
Thanks.