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. XML comments don't show up when referencing DLL

XML comments don't show up when referencing DLL

Scheduled Pinned Locked Moved C#
questioncsharpxml
2 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.
  • K Offline
    K Offline
    krisp
    wrote on last edited by
    #1

    If i create a library, and comment all public and protected members. With the XML comments in C#. Then the comments nicely pop up when im coding in other classes, or projects within the same solution that holds the project with the commented class. But, when I now take the DLL, and reference not by project (not adding the project to my new solution), but by file reference, like how you would any third-party dll, the comments don't show up. How do I tell the compiler to compile the xml comments into the dll. Or what do I have to do? Thanks, Kris.

    H 1 Reply Last reply
    0
    • K krisp

      If i create a library, and comment all public and protected members. With the XML comments in C#. Then the comments nicely pop up when im coding in other classes, or projects within the same solution that holds the project with the commented class. But, when I now take the DLL, and reference not by project (not adding the project to my new solution), but by file reference, like how you would any third-party dll, the comments don't show up. How do I tell the compiler to compile the xml comments into the dll. Or what do I have to do? Thanks, Kris.

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      The XML document that contains the comments must be in the same directory as the assembly you're referencing.

      Microsoft MVP, Visual C# My Articles

      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