visual studio 2012 migration fixes