BUG: Mixed Setup (Chinese and English) of Visual Studio .NET Displays Invalid Visual C# .NET Project in the Project Types List (821311)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual C# .NET (2003)

SYMPTOMS

When you create a new project in a language version of Visual Studio .NET that is different from the language version of the operating system, you may see Visual C# under Project Types, even though you have removed Visual C# .NET.

When you try to create a Visual C# .NET project, you may receive following error message:
Default .js or default.vbs not found in <Visual Studio .NET installation directory>\VC#wizards\CSharpEXEWiz\Scripts\1033

CAUSE

When you install two different language versions of Visual Studio .NET, some localizable files have a shared installation location. When you remove one of the languages (for example, Visual C#, or Visual C++), the Visual Studio .NET setup program incorrectly performs the reference counting for different setups, and then removes some required files from the shared installation location.

WORKAROUND

To work around this bug, first remove the Chinese version of Visual C# .NET, and then re-install the Chinese version of Visual C# .NET.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Start the Chinese version of Visual Studio .NET (2003).
  2. On the Tools menu, click Options.
  3. Under Environment items, click International Settings, and then under Language, click English.
  4. Close the Chinese version of Visual Studio .NET (2003).
  5. Run the setup of the English version of Visual Studio .NET (2003).
  6. During Setup, a dialog box appears where you can customize the installation. In this dialog box, expand Language Tools, and then expand Visual C# .NET. To remove Visual C# .NET, click to clear the Visual C# .NET check box.
  7. Click Update Now.
  8. Start the Chinese version of Visual Studio .NET (2003).
  9. On the File menu, point to New, and then click Project. You may notice that Visual C# appears under Project Types.
  10. Create a new Visual C# .NET project. You may receive the error message that is described in "Symptoms" section of this article.

Modification Type:MajorLast Reviewed:6/25/2003
Keywords:kbsetup kbIDEProject kbbug KB821311 kbAudDeveloper