Solved

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

Posted on 2009-04-01
4
421 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…
Suggested Courses
Course of the Month3 days, 19 hours left to enroll

630 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