Is there a way to change the target framework of all the projects of a solution in one fell swoop? Changing the target on 18 projects is a little tedious.
A:
I'm afraid that is a per-project setting...
Your solution "only" has 18 projects... mine 114!!
HiperiX
2010-04-14 16:38:38
Sorry, that's tough.
Jake Pearson
2010-04-14 16:41:02
A:
Can you record a macro and then loop it through all projects in the solution? (Haven't used 2k10 yet.)
Mark Hurd
2010-04-14 17:07:09
+2
A:
Do a search on the project files for
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
and replace with the desired version.
Kyle Alons
2010-04-14 18:29:09
+1
A:
Scott Dorman wrote a macro to do this: http://www.codeproject.com/Articles/74805/Visual-Studio-2010-and-Target-Framework-Version.aspx
JMarsch
2010-06-17 18:48:23