Cannot add a new class in Visual Studio

  • Thread starter Thread starter steve907
  • Start date Start date
S

steve907

I have Visual Studio 2008 Professional running on Vista Ultimate.
When I create a new project in VS (Windows Forms application, WPF
application, console application, doesn't matter which project type),
I cannot add a new class.

I click the Project menu, then select Add Class. The 'Add New Item'
dialog appears. The only choices available are Inherited Form and
Inherited User Control. I cannot add a class.

This happens with C# and Visual Basic.

I am totally baffled. Any suggestions?
 
steve907 said:
I have Visual Studio 2008 Professional running on Vista Ultimate.
When I create a new project in VS (Windows Forms application, WPF
application, console application, doesn't matter which project type),
I cannot add a new class.

I click the Project menu, then select Add Class. The 'Add New Item'
dialog appears. The only choices available are Inherited Form and
Inherited User Control. I cannot add a class.

This happens with C# and Visual Basic.

I am totally baffled. Any suggestions?

I would try reinstalling Visual Studio.

RobinS.
 
steve907 said:
I have Visual Studio 2008 Professional running on Vista Ultimate.
When I create a new project in VS (Windows Forms application, WPF
application, console application, doesn't matter which project type),
I cannot add a new class.

I click the Project menu, then select Add Class. The 'Add New Item'
dialog appears. The only choices available are Inherited Form and
Inherited User Control. I cannot add a class.

This happens with C# and Visual Basic.

I am totally baffled. Any suggestions?


Very different here. I'm using VS 2008 Pro on Vista Ultimate as well. No
problem with Add New -> Class here.
What are your basic settings?

Try Tools->Import and Export Settings... In the dialog, select Reset All
Settings, then choose General Development Settings from the presented list.
 
Very different here. I'm using VS 2008 Pro on Vista Ultimate as well. No
problem with Add New -> Class here.
What are your basic settings?

Try Tools->Import and Export Settings... In the dialog, select Reset All
Settings, then choose General Development Settings from the presented list.

Good suggestion, but it didn't fix the problem.

Thanks for the idea.
 
steve907 said:
Good suggestion, but it didn't fix the problem.

Thanks for the idea.

Then I'd be trying RobinS' idea. A repair install of Visual Studio may be in
order.
 
Back
Top