How do I default Visual Studio to C# projects instead of VB.NET?

C#Visual StudioVisual Studio-2010

C# Problem Overview


Visual Studio 2010 keeps defaulting to VB.NET projects instead of C#, I imported my saved settings from 2008 which defaulted to C# projects which did not resolve the problem..

I always accidentally create VB.NET projects then slap myself in the face as I then proceed to delete the project and recreate a C# version of it.

C# Solutions


Solution 1 - C#

Tools -> Import and Export Settings -> Import Selected Environment Settings... -> Make selection whether to save current settings -> Select C# under the default setting folder

Solution 2 - C#

Visual Studio (2008..and hopefuly '10 =x) defaults to whatever you chose as the last project's code language you created. Double check that yours isn't doing this >_< Try creating a new project in C# code, exit that project, and create another one and see what language it defaults to. If so, it will allow to keep your "Web Development Settings" rather that switch your main environment to C#, like the other solution suggests.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionBrett RyanView Question on Stackoverflow
Solution 1 - C#MrBoJanglesView Answer on Stackoverflow
Solution 2 - C#Nick RolandoView Answer on Stackoverflow