First some background. At the end of 2012 we migrated our vs2008 solution to vs2010 but we still target .NET 3.5. (I know nothing but the latest and greatest here!)
You can add the VisualStudioVersion property like this:
Configuration=$(BuildConfiguration);WarningLevel=0;VisualStudioVersion=12.0