17

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?

SteveC
  • 15,808
  • 23
  • 102
  • 173
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228

1 Answers1

31

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"

JaredPar
  • 733,204
  • 149
  • 1,241
  • 1,454