referencing an assembly in subdirectories

S

Stefan Rosi

Hello I've developed a custom control and compiled it to
"/controls/bin/Controls.dll".
When i try to reference this control from a page located in another
directory (like "/forms/default.aspx") using the following directive
<%@ Register TagPrefix="CusControls" Namespace="MyNameSpace"
Assembly="Controls" %>

I get an error message telling me that the assembly "Controls" was not
found.
How can I solve this problem ?
P.S. I can't move the assembly "Controls.dll" to another directory coz I
have some .ascx files in "/controls" using it.

Thanks in advanced
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top