A violation of § 22-14-12 shall be charged in the indictment or information as a separate count in addition to the principal felony or attempted felony alleged to have been committed. No offense may be charged under those sections if the use of a dangerous weapon is a necessary element of the principal felony alleged to have been committed or attempted.
SDCL 22-14-14