Thanks! To change a weapon you have to unlock a weapon class on a mission. So, if you unlock the Assault or Sniper class, then you can immediately equip that weapon to one of your troops.
Sorry if that is confusing. In the full game you will have access to most classes at the beginning and will have more options on changing and upgrading weapons.