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. How to include documentation into assmblies?

How to include documentation into assmblies?

Scheduled Pinned Locked Moved C#
questionvisual-studiotutorial
4 Posts 4 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.
  • O Offline
    O Offline
    occcy
    wrote on last edited by
    #1

    Hi! I have produced a class library with documentation (<summary>, <param > ...) of any type and member. But after compiling it, my documentation is lost. How can I include my documentation into my comiled assembly, so that it appears in IntelliSense and Object Browser??

    C D 2 Replies Last reply
    0
    • O occcy

      Hi! I have produced a class library with documentation (<summary>, <param > ...) of any type and member. But after compiling it, my documentation is lost. How can I include my documentation into my comiled assembly, so that it appears in IntelliSense and Object Browser??

      C Offline
      C Offline
      Corinna John
      wrote on last edited by
      #2

      You can define a path for the assemblyname.xml file in your project's properties. If this XML documentation has the same name as the DLL, IntelliSense will find it in the folder that contains the assembly and display the summaries.

      1 Reply Last reply
      0
      • O occcy

        Hi! I have produced a class library with documentation (<summary>, <param > ...) of any type and member. But after compiling it, my documentation is lost. How can I include my documentation into my comiled assembly, so that it appears in IntelliSense and Object Browser??

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        Go into your Project Properties, Configuration Properties, Build, and make sure that XML Documentation File is set to the same filename with an XML extension as your assembly. For instance, if your target filename is myAssm.DLL, then your XML Doc filename should be myAssm.DLL.XML. RageInTheMachine9532

        H 1 Reply Last reply
        0
        • D Dave Kreskowiak

          Go into your Project Properties, Configuration Properties, Build, and make sure that XML Documentation File is set to the same filename with an XML extension as your assembly. For instance, if your target filename is myAssm.DLL, then your XML Doc filename should be myAssm.DLL.XML. RageInTheMachine9532

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

          Actually, just myAssm.xml is fine. This is how the FCL XML documentation is named as well.

          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