Adapting policy to work only with VS 2012