BUG: "Library not registered" error message when you start a new application project by using Visual C# .NET (823244)
The information in this article applies to:
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# .NET (2002)
SYMPTOMS You have Visual Studio .NET 2002 or Visual Studio .NET 2003
installed on your computer. You create a setup project that includes Extensibility and VSLangProj assemblies, and then you install the setup project on your
computer. When you remove the setup project, and then create a new
project by using Visual C# .NET, you receive the following error
message: Library not registered CAUSE This problem occurs because the setup project adds a
dependency to the following files:
- VSLangProj.dll
- VsLangProj.tlb
- Extensibility.dll
- Extensibility.tlb
When you remove the setup project, the VSLangProj.tlb file and
the Extensibility.tlb file are unregistered. However, Visual Basic .NET and
Visual C# .NET use these TLB files. When you try to create a new application
project, the project cannot find the Extensibility.tlb file and the
VSLangProj.tlb file. Therefore, you receive the error message that is described
in the "Symptoms" section. WORKAROUNDTo work around this problem, do one of the following:
- Repair or re-install Visual Studio .NET 2002 or Visual
Studio .NET 2003. To do this, follow these steps:
- Quit Visual Studio .NET.
- In Control Panel, double-click Add or Remove
Programs.
- Click Microsoft Visual Studio .NET,
and then click Change/Remove.
- In Microsoft Visual Studio .NET Setup,
click Visual Studio .NET, and then click
Repair/Reinstall.
-or- - Exclude the Extensibility assembly and the VSLangProj assembly from the setup project when you install the setup
project on your computer.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
REFERENCESFor more information, visit the following Microsoft Web
site:
Modification Type: | Minor | Last Reviewed: | 2/10/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbvs2002sp1sweep kbpending kbsetup kbDLL kbbug KB823244 kbAudDeveloper |
---|
|