Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Running my game from the EXE runs an outdated version?  (Read 1472 times)

0 Members and 1 Guest are viewing this topic.

AlejandroCastillo

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Running my game from the EXE runs an outdated version?
« on: April 08, 2021, 07:26:33 am »
Whenever I run the exe (the one in the same file as the solution) everything runs smoothly but the game itself is reverted back to a much older version. Whenever I run the program within Visual Studios the newly updated game runs fine. It doesn't seem like a big problem but I can't seem to find any info online on what's going on. I'd greatly appreciate your help!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Running my game from the EXE runs an outdated version?
« Reply #1 on: April 08, 2021, 08:23:17 am »
Sounds like you run a different exe than the one you just built.
Check your project settings to find out where the exe is created.
Also don't forget to check whether you're in Debug, Release, x86 or x64 mode. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

AlejandroCastillo

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: Running my game from the EXE runs an outdated version?
« Reply #2 on: April 09, 2021, 10:09:11 pm »
YUP! All I had to do was drag my release EXE into the solution folder. I can't believe I didn't think of that. Thank you1  ;D ;D ;D

 

anything