How to set the default .NET framework for new projects in VS2013?

不羁岁月 提交于 2019-11-30 14:41:54

问题


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

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?


回答1:


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

  • Go to File -> New Project
  • At the top middle switch ".Net Framework 4.5" to ".Net Framework 4"
  • Click the project you want

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



来源:https://stackoverflow.com/questions/21420905/how-to-set-the-default-net-framework-for-new-projects-in-vs2013

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!