Microsoft KB Archive/831538

= FIX: Automated build process may fail in Visual Studio .NET 2002 =

Article ID: 831538

Article Last Modified on 10/18/2005

-

APPLIES TO


 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Academic Edition

-





SYMPTOMS
When you try to automate the build process by using a Development Tools Environment (DTE) Automation add-in in a Microsoft Visual Studio .NET 2002 project, the build process may not successfully complete. When you debug the project, you may receive an error message that is similar to the following compiler error message:

error CS0246: The type or namespace name  could not be found (are you missing a using directive or an assembly reference?).

The placeholder  is a type name or a namespace name.

Note When you build a project in the Visual Studio .NET 2002 IDE without the DTE Automation add-in, the build process is successful. You do not receive the compiler error message when you debug the project.



CAUSE
This problem occurs when a lock on a referenced assembly is not released as you expect. Therefore, the automated build process cannot complete.



RESOLUTION
For additional information about how to resolve the problem and how to obtain the hotfix, click the following article number to view the article in the Microsoft Knowledge Base:

810851 FIX: Incorrect members of a class appear in the IntelliSense window in Visual Studio .NET 2002

Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. Date        Time   Version     Size     File name -- 22-Nov-2002 08:08  7.0.9639.0  589,824  Cscomp.dll 22-Nov-2002 08:35  7.0.9639.0  716,800  Cslangsvc.dll



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



MORE INFORMATION
For additional information about how to create and how to load add-ins in Visual Studio .NET, click the following article number to view the article in the Microsoft Knowledge Base:

317345 How to create and load add-ins in the Visual Studio .NET IDE by using Visual Basic .NET

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbbug kbfix kbqfe kbvs2002sp1sweep KB831538

-

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

© Microsoft Corporation. All rights reserved.