Coding in VB.NET with VS 2008

Today will post about two things. One is hot fix available for VB performance issue in VS2008. It addresses performance issues in the following scenarios:

– The IDE takes a long time to build/rebuild the solution.

– You experience a slow response time when you press F5 to start debugging.

– You experience a slow response time in the Code Editor.

– You experience a slow response time in IntelliSense.

The performance issue is caused by having large files in your project that contain XML documentation. You’re most likely to run into these large files when using designer-generated files for web references and/or datasets. If you’ve found that turning off the option under the Compile tab in project properties for “Generate XML Documentation File” improves your performance, then this hotfix should address your issue.

Download it here.

The other is this useful tool called GhostDoc which enables you to generate XML description of your functions in VS 2008. I use this when coding in VB.NET though the VB.NET support is still experimental. This free add-in uses customizable templates to generate consistent, English-readable documentation based on the current context. To use it, right-click (or use CTRL + SHIFT + D) to document the current element:

tool Coding in VB.NET with VS 2008

This generates the following documentation (note GhostDoc split the property name into words and created a sentence from it):

tool2 Coding in VB.NET with VS 2008

Download GhostDoc from here.

One thought on “Coding in VB.NET with VS 2008

Leave a Reply

Your email address will not be published. Required fields are marked *