Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. calling of dll's when both are in same folder

calling of dll's when both are in same folder

Scheduled Pinned Locked Moved ASP.NET
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vikas shukla
    wrote on last edited by
    #1

    hi sir, please tell me that how we can call a dll from another dll when both are in same folder. thanks

    A 1 Reply Last reply
    0
    • V vikas shukla

      hi sir, please tell me that how we can call a dll from another dll when both are in same folder. thanks

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      How this is related with asp.net. Add Dll as reference, Add namespaces. use the classes :)

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      V 1 Reply Last reply
      0
      • A Abhijit Jana

        How this is related with asp.net. Add Dll as reference, Add namespaces. use the classes :)

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

        V Offline
        V Offline
        vikas shukla
        wrote on last edited by
        #3

        thank u sir but my issue is still remaining. actually this is my first dll using System; namespace myfirst { public class demo { public string getmessage() { return "Hi!How Are You"; } } } in folder e:\prac and more dll is using System; using myfirst; namespace mysecond { public class demo1 { public string getmessage1() { demo d=new demo(); string str1=d.getmessage(); Console.WriteLine(str1); } } } and now i am using csc /t:library mysecond.cs then i have following error and problem was same.please help me mysecond.cs(2,7): error CS0246: The type or namespace name 'myfirst' could not be found (are you missing a using directive or an assembly reference?)

        C 1 Reply Last reply
        0
        • V vikas shukla

          thank u sir but my issue is still remaining. actually this is my first dll using System; namespace myfirst { public class demo { public string getmessage() { return "Hi!How Are You"; } } } in folder e:\prac and more dll is using System; using myfirst; namespace mysecond { public class demo1 { public string getmessage1() { demo d=new demo(); string str1=d.getmessage(); Console.WriteLine(str1); } } } and now i am using csc /t:library mysecond.cs then i have following error and problem was same.please help me mysecond.cs(2,7): error CS0246: The type or namespace name 'myfirst' could not be found (are you missing a using directive or an assembly reference?)

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          This has NOTHING to do with ASP.NET. Ask it in the right forum.

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups