471,618 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,618 software developers and data experts.

Using <param> XML Tag in C# to create Intellisense in my DLL

The code in my DLL:

/// <summary>
/// db_task..file_master_list
/// </summary>
/// <param name="panConnection">
/// Pass the PanApp.Connection object by reference
/// </param>
/// <param name="source_id">
/// Default Value = 0
/// </param>
/// <param name="frequency_cd">
/// Default Value = ""
/// </param>
public static int file_master_list(ref SqlConnection
panConnection, int source_id, string frequency_cd, string
search_string)
{
//code
return 0;
}

Yet no Intellisense.

I also added the pre-build event:
/doc:db_taskLib.dll.xml

And on the build, I got the error:
The command "/doc:db_taskLib.dll.xml" exited with code 123.

The xml file that gets created has none of the xml I typed in my source
code.

What else do i need to do to get this to work?
I am using VS 2005.

Thanks,
-Mike

Feb 17 '06 #1
2 2245

<Mi************@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
The code in my DLL:

/// <summary>
/// db_task..file_master_list
/// </summary>
/// <param name="panConnection">
/// Pass the PanApp.Connection object by reference
/// </param>
/// <param name="source_id">
/// Default Value = 0
/// </param>
/// <param name="frequency_cd">
/// Default Value = ""
/// </param>
public static int file_master_list(ref SqlConnection
panConnection, int source_id, string frequency_cd, string
search_string)
{
//code
return 0;
}

Yet no Intellisense.

I also added the pre-build event:
/doc:db_taskLib.dll.xml

And on the build, I got the error:
The command "/doc:db_taskLib.dll.xml" exited with code 123.

The xml file that gets created has none of the xml I typed in my source
code.

What else do i need to do to get this to work?
I am using VS 2005.


Try enabling xml document file generation by going to the project
properties->Build and checking XMLdocumentation file.
Feb 19 '06 #2

I highly recommend Ghostdoc. It is a Visual Studio Add-In which writes
xml doc comments for you, or at least the skeleton.

http://www.roland-weigelt.de/ghostdoc/

I bind its "Document This" command to Ctrl-Alt-d and the XML
documentation comments practically write themselves.

--
Jay R. Wren

Mi************@gmail.com wrote:
The code in my DLL:

/// <summary>
/// db_task..file_master_list
/// </summary>
/// <param name="panConnection">
/// Pass the PanApp.Connection object by reference
/// </param>
/// <param name="source_id">
/// Default Value = 0
/// </param>
/// <param name="frequency_cd">
/// Default Value = ""
/// </param>
public static int file_master_list(ref SqlConnection
panConnection, int source_id, string frequency_cd, string
search_string)
{
//code
return 0;
}

Yet no Intellisense.

I also added the pre-build event:
/doc:db_taskLib.dll.xml

And on the build, I got the error:
The command "/doc:db_taskLib.dll.xml" exited with code 123.

The xml file that gets created has none of the xml I typed in my source
code.

What else do i need to do to get this to work?
I am using VS 2005.

Thanks,
-Mike

Feb 19 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by lvcha.gouqizi | last post: by
2 posts views Thread by Jesper. | last post: by
5 posts views Thread by news.bellatlantic.net | last post: by
reply views Thread by Tarren | last post: by
2 posts views Thread by Andrew Neiderer | last post: by
1 post views Thread by shalini jain | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.