如何将 Visual Studio 默认为 C# 项目而不是 VB.NET? [英] How do I default Visual Studio to C# projects instead of VB.NET?

查看:45
本文介绍了如何将 Visual Studio 默认为 C# 项目而不是 VB.NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 2010 一直默认使用 VB.NET 项目而不是 C#,我从 2008 年导入了我保存的设置,默认为 C# 项目,但没有解决问题..

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..

我总是不小心创建 VB.NET 项目,然后在我继续删除该项目并重新创建它的 C# 版本时给自己打了一巴掌.

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.

推荐答案

Tools -> Import and Export Settings -> Import Selected Environment Settings... -> 选择是否保存当前设置 -> 在默认设置下选择 C#文件夹

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

这篇关于如何将 Visual Studio 默认为 C# 项目而不是 VB.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆