Solved

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

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now