Wednesday, June 15, 2011

Visual Studio IntelliSense to show comments for the Custom Function

If you added Summary to your custom defined function and it's still now showing description as part of Visual Studio IntelliSense then for sure you are missing a setting .

e.g.

///<summary>
This is test function
///</summary>

public void TestFunction()
{
//Do something...
}



when you access this function , you expect the description to show up but in case its shows nothing . Then do this :

1) Open Projects property page
2) Click the Build Tab
30 Check the "Xml documentation file " checkbox


Compile project and try once more ...



No comments: