Fitzchak Yitzchaki
Fitzchak Yitzchaki

Reputation: 9163

Cannot create a Class Library Project in Visual Studio 2008

When I'm trying to add a new Class Library Project in Visual Studio 2008 I get this error:

Error message 1

After clicking OK this message appear:

alt text

And then an directory was created with properties folder and AssemblyInfo.cs file only.

  1. What caused this problem?
  2. How to fix it?

Edit: when creating the project as a new project I got this message instead the second one:

alt text

Upvotes: 0

Views: 473

Answers (2)

Bobby
Bobby

Reputation: 11576

The error messages are hinting that components are missing or broken, and also the templates are missing some files. It seems like your installation of Visual Studio has become corrupt, try a repair or (in worst case) a complete reinstall of Visual Studio to fix this.

Upvotes: 2

Asad
Asad

Reputation: 21928

your install is probably corrupt. see

Error HRESULT E_FAIL when pasting references in Visual Studio

Upvotes: 1

Related Questions