Changing the default language in Visual Studio

You might have came across a situation where you set the default version of Visual Studio to some language mistakenly or you want to change it because of some reason. Here is the solution for it.

It might be looking silly. But for those who are in need. It mean a lot, I suppose.

There are two ways of doing this.

First:

  1. Choose Tools -> Import and Export Settings…
  2. Select Reset All Settings and click Next
  3. Select whether you would like to save the current settings (I would say not here) and click Next
  4. Select the settings you want to use(change the language to C#) and click Finish

But, this is not advisable if there are any environmental settings that are set in the VS. In this case, you can use the following approach.

Second:

Modifying CurrentSettings.vssettings file. This file can be found in My Documents\Visual Studio x\Settings\ directory.

Open CurrentSettings.vssettings in a text or XML editor, and search for DefaultProjectLanguage.

You can then change the value accordingly. Here are the two options for VB or C#.

<PropertyValuename="DefaultProjectLanguage">VB</PropertyValue>

<PropertyValuename="DefaultProjectLanguage">CSharp</PropertyValue>

Save the file, and once you open Visual Studio, you’re set.

Hope this helps!

    	
  1. Choose Tools -> Import and Export Settings...
  2. Select Reset All Settings and click Next
  3. Select whether you would like to save the current settings (I would say not here) and click Next
  4. Select the settings you want to use(change the language to C#) and click Finish
Advertisements
This entry was posted in Misc and tagged , by Pranav. Bookmark the permalink.

About Pranav

A Software Engineer by profession and a Geek at heart. I love exploring new technologies and working on algorithmic problems. As of now, I write code for bread, butter and satisfaction. I like to develop applications, and generally that involves much more than writing code. It’s not just about hurling code, but producing something meaningful that has a measurable and positive impact, helps others and solves interesting problems.

2 thoughts on “Changing the default language in Visual Studio

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s