Update VS projects and add conditional exclusion of bn and ec.