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:
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.
Note To reproduce this behavior, you must have Visual Studio .NET 2002
or Visual Studio .NET 2003 installed on your computer.
1.
In Microsoft Visual Studio .NET, use Visual Basic .NET or
Visual C# .NET to create a new Windows Application project. By
default, Form1 is created.
2.
Add a new reference to this project, and then build the
project. To do this, follow these steps:
a.
In Solution Explorer, right-click
WindowsApplication1, and then click Add
Reference.
b.
Click the .NET tab, click
extensibility. Hold down the CTRL key, and then click
VSLangProj. Release the CTRL key, and then click
Select. Click OK.
c.
On the Build menu, click Build
Solution.
3.
Add another project to the project that you created in step
1. To do this, follow these steps:
a.
On the File menu, point to Add
Project, and then click New Project.
b.
In the Add New Project dialog box,
click Setup and Deployment Projects under Project
Types, click Setup Project under
Templates, and then click OK. By default,
Setup1 is created.
c.
In Solution Explorer, click
Setup1.
d.
On the Project menu, point to
Add, and then click Project
Output.
e.
In the Add Project Output Group dialog
box, click Primary output, and then click
OK.
f.
On the Build menu, click Build
Setup1.
4.
Install the project that you have created. To do this,
follow these steps:
a.
On the Project menu, click
Install.
b.
On the Welcome to the Setup1 page of
the setup wizard, click Next.
c.
On the Select Installation Folder
page, type the location where you want to install the project in the
Folder text box.
d.
Click Next.
e.
On the Confirm Installation page,
click Next.
f.
On the Installation Complete page,
click Close.
5.
On the Project menu in Visual Studio .NET,
click Uninstall.
6.
After the uninstall process is completed, quit Visual
Studio .NET.
7.
Start Visual Studio .NET 2002 and Visual Studio .NET 2003,
and then use Visual C# .NET to create a new Windows
Application project.
You receive the error message that is
described in the "Symptoms" section of this article.
Note If you use Visual Basic .NET to start the new Windows
Application project, you do not receive an error message and the
application project starts as expected.
Need More Help? Contact a Support professional by E-mail, Online or Phone.
Customer Service For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
Newsgroups Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.