Some enhancements for VS 2010 and VS 2012 solutions

I will not apply these corrections to VS 2008 because I never used it and I do not plan to use it one day :-)
I will apply the patch path correction to VS 2010 solution tomorrow.