referencing an assembly in subdirectories

Discussion in 'ASP .Net Building Controls' started by Stefan Rosi, Jun 4, 2004.

  1. Stefan Rosi

    Stefan Rosi Guest

    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
    Stefan Rosi, Jun 4, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeremy Chapman

    referencing assembly from aspx page

    Jeremy Chapman, Jul 31, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    473
    Saravana
    Aug 1, 2003
  2. Brent
    Replies:
    1
    Views:
    1,345
    Brent
    Jan 23, 2004
  3. Stefan Rosi

    referencing an assembly in subdirectories

    Stefan Rosi, Jun 4, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    346
    Stefan Rosi
    Jun 4, 2004
  4. Jason MacKenzie

    Assembly Referencing Question

    Jason MacKenzie, Nov 23, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    313
    Ken Cox [Microsoft MVP]
    Nov 23, 2004
  5. Stefan Rosi

    referencing an assembly in subdirectories

    Stefan Rosi, Jun 4, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    92
Loading...

Share This Page