Microsoft KB Archive/842434

= BUG: IntelliSense feature of Visual Studio .NET 2003 does not work correctly when you use the VBCommenter add-in in a solution that includes a report project =

Article ID: 842434

Article Last Modified on 8/28/2007

-

APPLIES TO


 * Microsoft SQL Server 2000 Reporting Services

-



Bug #: 161612 (SQL Server 8.0)



SYMPTOMS
After you build a solution that has a Microsoft Visual Basic .NET project, such as a console application, in Microsoft Visual Studio .NET 2003, the IntelliSense feature in Visual Studio .NET 2003 does not work correctly. This problem may occur if all the following conditions are true:
 * A report project is added to the solution that already has a Visual Basic .NET project.
 * The VBCommenter add-in tool for Visual Studio .NET 2003 is installed on your computer, and the VBCommenter options are enabled.

Note This problem may occur in projects other than Visual Basic .NET projects, such as Microsoft Visual C# projects, that use IntelliSense.



WORKAROUND
To work around this problem, close the solution, restart Visual Studio .NET 2003, and then reopen the solution. To do this, follow these steps:
 * 1) Close the Visual Studio .NET 2003 solution.
 * 2) Quit Visual Studio .NET 2003.
 * 3) Start Visual Studio .NET 2003.
 * 4) Open your Visual Studio .NET 2003 solution.

Note After you reopen the solution, IntelliSense works correctly. However, if you rebuild the solution, the problem that is mentioned in the &quot;Symptoms&quot; section may occur again.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
VBCommenter is a third party add-in tool that is designed for Visual Studio .NET 2003. When you turn on the VBCommenter options, the VBCommenter automatically includes the XML comments in the Visual Basic source code.

Although the VBCommenter add-in tool is designed to work with the Visual Basic source code, if you turn on the VBCommenter options for a solution that contains a project other than a Visual Basic project that uses IntelliSense, and you add a report project to your solution, the problem in the &quot;Symptoms&quot; section may occur.

Steps to reproduce the problem
 Install the VBCommenter add-in tool for Visual Studio .NET 2003 on your computer. Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information. Start Visual Studio .NET 2003. On the File menu, point to New, and then click Project. Under Project Types, click Visual Basic Projects. Under Templates, click Console Application. In the Name box, type TestVBproject, and then click OK.</li> On the Tools menu, click VBCommenter Options.</li> In the VBCommenter Settings dialog box, click to select the following check boxes, and then click OK: <ul> Create .xml files when projects are built</li> Insert XML comments in source</li></ul> </li>  Make sure that IntelliSense is working correctly in Visual Studio .NET. To make sure that IntelliSense works correctly, type the following code in the Visual Basic source code: Dim x As<Space character> Note IntelliSense lists all the available interfaces and classes in Visual Basic .NET that can be used to complete the statement. </li> On the File menu, point to Add Project, and then click New Project.</li> Under Project Types, click Business Intelligence Projects.</li> Under Templates, click Report Project.</li> In the Name box, type TestReportProj, and then click OK.</li> Check to see if IntelliSense works correctly.</li> On the Build menu, click Build Solution.

Note After you build the solution, IntelliSense does not work correctly.</li></ol>

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Additional query words: Visual Studio .NET intellisense fails

Keywords: kb3rdparty kbaddin kbreport kbtshoot kbbug KB842434

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.