Change default language from Visual Basic to C# in IDE.

A

averydarkplace

Hello,

I just had Visual Studio 2005 installed. When I went throught the
initial setup I chose the language "Visual Basic" instead of "Visual
C#." I want to undo this and change the default language to "C#." I
haven't been able to find how to do this.

~ A
 
B

Brian Schwartz

I've looked and looked for where this might be changed. The best thing I've
found so far is this registry key:
HKCU\Software\Microsoft\VisualStudio\8.0\General\NewProjectDialogPreferredLanguage.
Yours probably says VB. Mine says VC#. I found this same value name
(NewProjectDialogPreferredLanguage) in another key in HKEY_USERS. You might
do a search for that value name and just change to VC# anywhere you find it.

Hope that helps--wow, I'm amazed it's not easier.
 
G

Guest

If you want to remove VB and add only C# to your programming environment then
you could do that using add/remove programs and click on change button for
the installation. Just uncheck vb and check off C#.

HTH
 
P

pvdg42

averydarkplace said:
Hello,

I just had Visual Studio 2005 installed. When I went throught the
initial setup I chose the language "Visual Basic" instead of "Visual
C#." I want to undo this and change the default language to "C#." I
haven't been able to find how to do this.

~ A

Tools->Import and Export Settings...
In the resulting dialog, choose Reset All Settings, then follow the prompts
(saving or not saving your current settings as you see fit) to Choose a
Default Collection of Settings and select C# (personally, I prefer the
General Development Settings, but it's your call).
Enjoy!
 
B

Brian Schwartz

I knew there had to be a better way! I saw this menu item but was afraid it
was a nuclear, all-or-nothing option, so I didn't dig into it.
 

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