repair VS2012 support