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. How to distribute class libraries

How to distribute class libraries

Scheduled Pinned Locked Moved C#
visual-studioquestionxmltutorial
4 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.
  • A Offline
    A Offline
    axos88
    wrote on last edited by
    #1

    Okay, so I have written my own class library... And have documented it with the inline xml thingy... So... now what? How do I distribute them to others? What files do I have to include so that IntelliSense works okay? (Do I have to include the XML file?) Where do I have to copy those files so VS recognizes them? Regards, Vandra Akos

    L 1 Reply Last reply
    0
    • A axos88

      Okay, so I have written my own class library... And have documented it with the inline xml thingy... So... now what? How do I distribute them to others? What files do I have to include so that IntelliSense works okay? (Do I have to include the XML file?) Where do I have to copy those files so VS recognizes them? Regards, Vandra Akos

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

      Distribution: distribute your xml and dll files together (in the same directory), as Visual does. Usage: - add a reference to the dll(s) you need, e.g. using the Solutions pane in Visual Studio - add a using statement to your client source code Now the classes in your new dll(s) are available together with their XML comment (for Intellisense). :)

      Luc Pattyn

      E 1 Reply Last reply
      0
      • L Luc Pattyn

        Distribution: distribute your xml and dll files together (in the same directory), as Visual does. Usage: - add a reference to the dll(s) you need, e.g. using the Solutions pane in Visual Studio - add a using statement to your client source code Now the classes in your new dll(s) are available together with their XML comment (for Intellisense). :)

        Luc Pattyn

        E Offline
        E Offline
        Ennis Ray Lynch Jr
        wrote on last edited by
        #3

        I believe the XML files you are refering to are the XML documentation files which are turned off by default in the project. Building the dll, however, should include the XML comments as they are part of the assemblies meta data.


        On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. - Charles Babbage

        L 1 Reply Last reply
        0
        • E Ennis Ray Lynch Jr

          I believe the XML files you are refering to are the XML documentation files which are turned off by default in the project. Building the dll, however, should include the XML comments as they are part of the assemblies meta data.


          On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. - Charles Babbage

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

          I was under the impression axos88 already got his XML file, but didnt quite know what to do with it... :)

          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