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. the components's comment

the components's comment

Scheduled Pinned Locked Moved C#
questionhelp
6 Posts 2 Posters 2 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.
  • W Offline
    W Offline
    wangier
    wrote on last edited by
    #1

    In the object browser, the comments of a class or its member's summary and parameters can be displayed at the bottom of the window (these comments use "///"). When I compile the project to a .dll, reference this .dll into another solution, the comments of the classes in this .dll can't displayed in object browser. Why? How can I fix it?

    E 1 Reply Last reply
    0
    • W wangier

      In the object browser, the comments of a class or its member's summary and parameters can be displayed at the bottom of the window (these comments use "///"). When I compile the project to a .dll, reference this .dll into another solution, the comments of the classes in this .dll can't displayed in object browser. Why? How can I fix it?

      E Offline
      E Offline
      Eric Gunnerson msft
      wrote on last edited by
      #2

      You need to: 1) Turn on XML comments in the library project 2) Name the file the same thing as the dll (ie utility.xml for utility.dll) If you do that, the IDE will find the comments.

      W 2 Replies Last reply
      0
      • E Eric Gunnerson msft

        You need to: 1) Turn on XML comments in the library project 2) Name the file the same thing as the dll (ie utility.xml for utility.dll) If you do that, the IDE will find the comments.

        W Offline
        W Offline
        wangier
        wrote on last edited by
        #3

        Thanks for your help!

        1 Reply Last reply
        0
        • E Eric Gunnerson msft

          You need to: 1) Turn on XML comments in the library project 2) Name the file the same thing as the dll (ie utility.xml for utility.dll) If you do that, the IDE will find the comments.

          W Offline
          W Offline
          wangier
          wrote on last edited by
          #4

          I found that there is not a .xml document corresponds to .net library which involving .net classes. How does these library do that?

          E 1 Reply Last reply
          0
          • W wangier

            I found that there is not a .xml document corresponds to .net library which involving .net classes. How does these library do that?

            E Offline
            E Offline
            Eric Gunnerson msft
            wrote on last edited by
            #5

            Can you give me an example

            W 1 Reply Last reply
            0
            • E Eric Gunnerson msft

              Can you give me an example

              W Offline
              W Offline
              wangier
              wrote on last edited by
              #6

              e.g. System.Windows.Forms.Button in system.windows.forms.dll I have not found the corresponding file system.windows.forms.xml .

              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