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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Intellisense and DLL

Intellisense and DLL

Scheduled Pinned Locked Moved C#
visual-studio
4 Posts 2 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.
  • D Offline
    D Offline
    DISP Jol
    wrote on last edited by
    #1

    I have created an assembly and added reference to this dll in my web project I have also used USING statement on my web form...However the Intellisense doesnt work with the classes in this assembly... I am however able to instantiate and use classes from this assembly without errors.. Any ideas in getting intellisense to work with this assembly.. Thanks Joel

    JO

    L 1 Reply Last reply
    0
    • D DISP Jol

      I have created an assembly and added reference to this dll in my web project I have also used USING statement on my web form...However the Intellisense doesnt work with the classes in this assembly... I am however able to instantiate and use classes from this assembly without errors.. Any ideas in getting intellisense to work with this assembly.. Thanks Joel

      JO

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Hi, the Intellisense info is collected in a separate xml file, provided you enable this feature (by specifying the file name) in the project's properties. It remains available as long as you keep the xml file next to the dll file itself; referencing the dll file in another project makes Visual look for the xml file in the same directory. :)

      Luc Pattyn

      D 1 Reply Last reply
      0
      • L Luc Pattyn

        Hi, the Intellisense info is collected in a separate xml file, provided you enable this feature (by specifying the file name) in the project's properties. It remains available as long as you keep the xml file next to the dll file itself; referencing the dll file in another project makes Visual look for the xml file in the same directory. :)

        Luc Pattyn

        D Offline
        D Offline
        DISP Jol
        wrote on last edited by
        #3

        Luc,, Thanks for your input...I dont wanna document or specify additional information for my classes.I just want the constructor name and signature to show up when I an using object of this class.. As in MyClass tstClass=new (I want MyClass name and the overloads for the constructor to automatically appear here) Thanks Joel

        JO

        L 1 Reply Last reply
        0
        • D DISP Jol

          Luc,, Thanks for your input...I dont wanna document or specify additional information for my classes.I just want the constructor name and signature to show up when I an using object of this class.. As in MyClass tstClass=new (I want MyClass name and the overloads for the constructor to automatically appear here) Thanks Joel

          JO

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          Hi Joel, Member names are available to Intellisense as soon as you have provided these two: - a reference to the dll file (Add Reference... in Solution Pane's context menu) - a using statement (at the top of your C# source files). Warning: you see method names only if: - you have a class instance name for non-static methods; e.g. FileInfo f; f.Open(); - you have a class name for static methods; e.g. File.Open() The extra info you can add with triple slashes goes into an xml file, cfr my previous message. :)

          Luc Pattyn

          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