If a different country issued your visa, you must visit that country first before coming to France. Visiting France first will violate that rule, and you may encounter issues at the entry point. The same is the case if you decide to visit France first; the French embassy must issue your visa.