Cannot add a new class in Visual Studio

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?
 
R

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?

I would try reinstalling Visual Studio.

RobinS.
 
P

PvdG42

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.
 
S

steve907

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.
 
P

PvdG42

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top