如何在VS2013中为新项目设置默认.NET框架? [英] How to set the default .NET framework for new projects in VS2013?

查看:309
本文介绍了如何在VS2013中为新项目设置默认.NET框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个针对.net 4.0的项目,不会急于将其更改为4.5。

I'm working on a project that targets .net 4.0, It won't be changing to 4.5 in a hurry.

当我创建一个新项目时,它默认为.net 4.5。无论如何,我可以在Visual Studio级别全局(或者最好是在解决方案级别)将其全局默认为4.0吗?

When I create a new project it defaults to .net 4.5. Is there anyway I can default it to 4.0 either globally at the Visual Studio level or (more preferably) at the solution level?

推荐答案

最简单的方法是只在新项目对话框中更改默认的.Net Framework版本。

The easiest way is to just change the default .Net Framework version in the new project dialog.


  • 转到文件->新建项目

  • 在顶部中间开关 .Net Framework 4.5到 .Net Framework 4

  • 单击所需的项目

新项目对话框中的默认设置为 .Net Framework 4

From that point on the "New Project" dialog will default to ".Net Framework 4"

这篇关于如何在VS2013中为新项目设置默认.NET框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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