Solved

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

Posted on 2009-04-01
4
412 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 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

776 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