Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-04-01
4
Medium Priority
?
423 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 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

718 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