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

后端 未结 2 1929
挽巷
挽巷 2020-12-02 11:50

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

2条回答
  •  日久生厌
    2020-12-02 12:19

    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.

提交回复
热议问题