Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VS 2005, VB.Net Autocomplete/Intellisense comments when using a DLL..

Posted on 2009-04-01
4
Medium Priority
?
428 Views
Last Modified: 2013-11-26
I have created several DLL's and I just noticed that when the Class Library Project is part of the solution that my app is in I can see my XML comments when I use intellisense.  However, when I add that same DLL as a reference to another project, then I don't see the comments.  I hadn't noticed this until now and I am curious how to make them show up so that others can benefit and understand them easier.  The comments for a sub are below...Thanks.
''' <summary>
    ''' Writes errors to a log file.
    ''' </summary>
    ''' <param name="strMessage">The exception message.</param>
    ''' <param name="strStack">The stack trace of the exception generated if available.</param>
    ''' <param name="OutputFileName">The destination file name.</param>
    Public Shared Sub Write_Error_To_Log(ByVal strMessage As String, _
                                            ByVal strStack As String, _
                                            ByVal OutputFileName As String)

Open in new window

0
Comment
Question by:rgn2121
  • 2
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
Rimvis earned 2000 total points
ID: 24047076
Don't have a VS2005 at hand.

In VS 2008, you go to Project->Properties->Compile

Make sure "Generate XM documentation file" is checked. After you build you project, go to output directory. You will see file .xml. You must provie this file along with your binary.
0
 
LVL 12

Author Comment

by:rgn2121
ID: 24047344
Yep...that's it.  I already had that option checked, but I didn't move that file when I added the reference.  Is there something that I can set so that when I add that DLL to a project it also copies the app.config for the dll and the xml document?
I had to copy both of these to my debug/release directories, although the dll was copied by the system.
0
 
LVL 19

Expert Comment

by:Rimvis
ID: 24047383
I don't think so
0
 
LVL 12

Author Comment

by:rgn2121
ID: 24047400
So I just have to be sure and move them and/or add them to my setup projects then...fair enough thanks.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question