Move conditional build guards to VS UI.