Click here to Skip to main content
15,906,463 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I'm working in Visual Basic, then add some comments like this

''' <summary>
''' Metodo que toma una frase codificada en utf8 o iso, ya sea en base64 o en
''' Quoted-Printable de la cual se obtiene un string decodificado y legible
''' </summary>
''' <param name="FraseCodificada">Frase codificada</param>
''' <returns>Frase decodificada</returns>
''' <remarks></remarks>

I can't see them from another project that uses the dll,
someone knows how to do it?

thanks


Edit:

I noticed today that the summary of the dll is stored as a comment line ' and not as a ''' comment
Posted
Updated 8-Nov-16 0:24am
v2

In your project Properties->Build, make sure the "XML Documentation file" checkbox is checked.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 20-Jun-11 21:44pm    
My, 5.
May be OP does not no C# XML help syntax as opposed to VB.NET?
Please see my answer.
--SA
Go one line above some public declaration: a type or its a public member of a public type, and type "///", three (3) slashed -- VS should create a template XML help item for you.

[EDIT]
To more things to check: 1) usually comments are enabled to Debug configuration and not for Release, 2) project build should create XML file; this file should be accessible when you browse the built assembly.

—SA
 
Share this answer
 
v2
Comments
Tarun.K.S 21-Jun-11 6:55am    
I don't think that's the OP's doubt. OP's project uses a dll which cannot be opened. OP wants to add comments to the classes in present in that dll.
Sergey Alexandrovich Kryukov 21-Jun-11 11:19am    
Just trying to help OP to check all that may be relevant.
--SA
pepito del puerto 21-Jun-11 9:26am    
I use ''' in VB but when I see the functions in another proyect that uses the dll I don't see anything only the declaration for example

Public Function functionX As String

and thats all
pepito del puerto 22-Jun-11 9:35am    
The solution was to copy the xml file generated in the dll project to where the dll was copied, thanks to all
Sergey Alexandrovich Kryukov 22-Jun-11 18:18pm    
Great. You're welcome.
Good luck, call again.
--SA
two ways..

1. You can use /// in C# or ''' in VB for comments.

2. Another way of doing comments is using [] for attributes, but that stuff will goes to COM.
 
Share this answer
 
Comments
pepito del puerto 21-Jun-11 9:29am    
I use ''' but I can't see the comments from another proyect that uses my dll
Harmanjeet Singh 21-Jun-11 17:58pm    
See, if, you r using ''' comments, the code shud work. one thing to make you confirm. try the same thing in a new project. it shud definitely work there..
Do you have intellisense turned on?
 
Share this answer
 
Comments
pepito del puerto 20-Jun-11 15:46pm    
yes, i can only see the Function without my comments
Sergey Alexandrovich Kryukov 20-Jun-11 21:44pm    
My, 5.
May be OP does not no C# XML help syntax as opposed to VB.NET?
Please see my answer.
--SA
Under "Build->Configuration Manager..." in a Class Library project it must be set to "Any CPU". Doesn´t matter if it is "Release" or "Debug".
 
Share this answer
 
Comments
[no name] 8-Nov-16 8:05am    
Well done. Resurrecting a FIVE year old already answered question to post a solution that has nothing to do with the question asked.
CHill60 12-Nov-16 21:16pm    
Rubbish.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900