none
Metadata RRS feed

  • Question

  • I have Dictionary.dll

    in this dll i have for examle function FileDialog with summary discribing this finction Open File Dialog

    namespace Dictionary
    {
        public static class WorkWithFile
        {
            /// <summary>
            /// Open File Dialog
            /// </summary>
            static public string FileDialog()
            {            
                var openFD = new OpenFileDialog();
                openFD.InitialDirectory = "C:\\";
                openFD.Filter = "Word файл (*.doc)|*.doc|Все файлы (*.*)|*.*";
                openFD.CheckFileExists = true;
                openFD.Multiselect = false;
                openFD.RestoreDirectory = true;
                openFD.ShowDialog();
                return openFD.FileName;
            }

    }}

    I bild dll

    And insert reference in other solution for examle Laboratory

    When in move mouse on this function I not see summary in tooltip WHY??

    And when I click F12 on this function I same not see summary  /// Open File Dialog /// </summary> Why???

    But when I click standart class or function I see explanation 

    how I CAN do this in my dll???

    Tuesday, April 4, 2017 2:45 PM

Answers

  • Hi Ahlompys,

    You need to generate XML documentation for the assembly (a file named myassembly.xml) and copy it alongside your .dll where it's referenced by your other projects, please refer to the following steps.

      • Go to the solution explorer of your source code. Right click on the project name and go the properties.
      • go to the Build tab if you are using c# and select the check box Xml documentation file.
      • When you build your source code the Xml file will be generated in the location where your dll is present.
      • while copy your dll to the solution copy the xml file and paste into the bin of your destination solution.

    For more information, please refer to:

    https://msdn.microsoft.com/en-us/library/x4sa0ak0.aspx

    Best regard,

    Cole Wu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by Ahlompys Wednesday, April 5, 2017 6:27 AM
    Wednesday, April 5, 2017 3:05 AM
    Moderator