Sample compatible with vs 2012