Port to VS2013

git-tfs-id: [https://lexikome.visualstudio.com/defaultcollection]$/Rimto;C6