title: Retargeting All Projects in a Solution to .NET 4.5.2
body: <p>I have a solution in Visual Studio 2012 with 170 C# projects in it. I need to retarget all of the projects from .NET Framework 4.0 to 4.5.2.</p>
  
  <p>I prefer to let Visual Studio handle this by going into the properties of each project, changing the targeted framework, and letting Visual Studio make any necessary changes to the .csproj files.</p>
  
  <p>I noticed that these changes include adding a few new XML tags to the .csproj, depending on some attributes of the current project.</p>
  
  <p>How can I batch retarget all 170 C# projects without just using a replace text tool to replace the targeted version number? I want Visual Studio to make all the necessary tag modifications and additions and replace alone will not permit that to happen.</p>