Formal:
* Je vous souhaite tout le meilleur. (This is the most formal option.)
Informal:
* Je te souhaite tout le meilleur. (This is the informal "you" and can be used with friends and family.)
* Bonne chance! (This literally means "good luck" and is a common way to wish someone well.)
* Je te souhaite beaucoup de bonheur. (This means "I wish you a lot of happiness.")
More specific wishes:
* Bonne chance pour ton examen! (Good luck with your exam!)
* Bon courage pour ton projet! (Good luck with your project!)
* Bonne chance pour ton voyage! (Have a good trip!)
The best option depends on your relationship with the person you are speaking to and the situation.