VS2005 - change IDE language?

S

Steve Marshall

When I installed VS2005 on my own computer I nominated VB as the
default language. I have also worked on VS2005 on another computer
where C# was the default language. But sometimes I want to use C#.
How do I change the IDE to work with C#?

I can see a few options in the Tools/Options menu, but the result is
not the same as it looked on the other computer I worked on. Surely I
don't have to uninstall/reinstall!?
 
O

\(O\)enone

Steve said:
When I installed VS2005 on my own computer I nominated VB as the
default language. I have also worked on VS2005 on another computer
where C# was the default language. But sometimes I want to use C#.
How do I change the IDE to work with C#?

Each project that you have open must be based on a single language. If you
want a C# project, you just need to create one.

Select File / New / Project from the menu, then in the "Project types" tree
select Visual C#, and then pick a project template from the Templates
section. Enter your project details below and click OK.

HTH,
 
R

Rory Becker

When I installed VS2005 on my own computer I nominated VB as the
default language. I have also worked on VS2005 on another computer
where C# was the default language. But sometimes I want to use C#.
How do I change the IDE to work with C#?

I can see a few options in the Tools/Options menu, but the result is
not the same as it looked on the other computer I worked on. Surely I
don't have to uninstall/reinstall!?


You cannot (generally) mix programming languages in a single project

You can however create a solution with many projects, each project in a seperate
language.

When you create a new project, look around the dialog and you should find
that you can change the language for the project from the hierarchy on the
left of the dialog.
 

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