Adding Reference

Discussion in 'ASP .Net' started by Arne Garvander, Apr 22, 2009.

  1. I created a Asp.net 3.5 website. I added a reference to an outside library.
    The library got added to my bin directory. I tried to add using references to
    the namespace in my library, but the compiler rejects my added namespace.
    What have I done wrong? Do I need to add something to the <assemblies>
    section in my web.config?
    --
    Arne Garvander
    (I program VB.Net for fun and C# to get paid. When get paid, I laugh all the
    way to the bank.)
     
    Arne Garvander, Apr 22, 2009
    #1
    1. Advertising

  2. I found my problem.
    My namespace was TapeLibData not TapelibData. A case sensitivity problem.
    --
    Arne Garvander
    (I program VB.Net for fun and C# to get paid. When get paid, I laugh all the
    way to the bank.)


    "Patrice" wrote:

    > Use the Object browser to check that this is visible and the exact name...
    >
    > --
    > Patrice
    >
    > "Arne Garvander" <> a crit dans le
    > message de groupe de discussion :
    > ...
    > >
    > > --
    > > Arne Garvander
    > > (I program VB.Net for fun and C# to get paid. When get paid, I laugh all
    > > the
    > > way to the bank.)
    > >
    > >
    > > "Mark Rae [MVP]" wrote:
    > >
    > >> "Arne Garvander" <> wrote in
    > >> message
    > >> news:...
    > >>
    > >> > but the compiler rejects my added namespace.
    > >>
    > >> What does that mean?

    > > Using TapelibData:
    > >
    > > Error 1 The type or namespace name 'TapelibData' could not be found (are
    > > you
    > > missing a using directive or an assembly reference?) C:\Visual Studio
    > > Projects\TapeLib\TapelibSilver.Web\App_Code\IService.cs 7 7
    > > C:\...\TapelibSilver.Web\
    > >
    > >>
    > >> > What have I done wrong?
    > >>
    > >> Not told the group what the error message was...
    > >>
    > >>
    > >> --
    > >> Mark Rae
    > >> ASP.NET MVP
    > >> http://www.markrae.net
    > >>
    > >>

    >
     
    Arne Garvander, Apr 22, 2009
    #2
    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. Lady_A
    Replies:
    0
    Views:
    526
    Lady_A
    Oct 19, 2005
  2. Saumendra
    Replies:
    0
    Views:
    1,263
    Saumendra
    Jun 24, 2003
  3. Kiran
    Replies:
    3
    Views:
    770
  4. Elmo Watson

    Adding Reference in Inline Coding

    Elmo Watson, Mar 5, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    439
    Elmo Watson
    Mar 5, 2004
  5. mrwoopey
    Replies:
    0
    Views:
    2,228
    mrwoopey
    Apr 15, 2004
Loading...

Share This Page