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. General Programming
  3. C#
  4. Intellisense info

Intellisense info

Scheduled Pinned Locked Moved C#
c++visual-studioxmlquestion
5 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
    V 0
    wrote on last edited by
    #1

    Hi, As my current company fails in re-using existing code, I've started my own library. Now it's only some basic stuff, but the idea is the expand it in time. Above some functions a set /** <summary>comment here</summary> */ because I want that comment to appear in intellisense when using the object. This works inside the solution, but I'm importing this solution as dll inside other projects. I would like to have the intellisense info there too. How can you do that? (It doesn't appear right now) I have compiles it as doc and the .xml file is generated. Can you do it with C++ also? tnx! "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix

    S 1 Reply Last reply
    0
    • V V 0

      Hi, As my current company fails in re-using existing code, I've started my own library. Now it's only some basic stuff, but the idea is the expand it in time. Above some functions a set /** <summary>comment here</summary> */ because I want that comment to appear in intellisense when using the object. This works inside the solution, but I'm importing this solution as dll inside other projects. I would like to have the intellisense info there too. How can you do that? (It doesn't appear right now) I have compiles it as doc and the .xml file is generated. Can you do it with C++ also? tnx! "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix

      S Offline
      S Offline
      Stefan Troschuetz
      wrote on last edited by
      #2

      Name the XML-file like your library e.g. MyLibrary.dll --> MyLibrary.xml, and copy the XML-file along with your library.


      www.troschuetz.de

      V 1 Reply Last reply
      0
      • S Stefan Troschuetz

        Name the XML-file like your library e.g. MyLibrary.dll --> MyLibrary.xml, and copy the XML-file along with your library.


        www.troschuetz.de

        V Offline
        V Offline
        V 0
        wrote on last edited by
        #3

        I had to restart VS, but it worked tnx! Can't you do it automatically when adding a reference? "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix

        S T 2 Replies Last reply
        0
        • V V 0

          I had to restart VS, but it worked tnx! Can't you do it automatically when adding a reference? "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix

          S Offline
          S Offline
          Stefan Troschuetz
          wrote on last edited by
          #4

          I don't know exactly. Tried it just now with my VS.NET 2002 and had to reopen the solution. Maybe it's already included in a later version of VS.NET. If not, well I think one can live with that as most people doesn't add references that often :)


          www.troschuetz.de

          1 Reply Last reply
          0
          • V V 0

            I had to restart VS, but it worked tnx! Can't you do it automatically when adding a reference? "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix

            T Offline
            T Offline
            ThaddParker
            wrote on last edited by
            #5

            The answer is yes. But you have to restart VS in order for the reference to the .xml file to be properly loaded. If your MyIntellisenseProj.xml is built and located with you MyIntellisenseProj.dll, then adding the reference will pull over the .dll and xml files. The only thing is that you either have close and reopen the solution or close and reopen VS. Seems stupid but that is the only workaround that I have found so far. Hopefully they fix that in VS2005.

            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