Quote: "so my game runs fine and I can play it but when I go and click the exe in the debug folder I get an error saying :"
And if you copy that EXE file from the debug folder and paste it in the same folder where you have your source code files, then everything will probably work now, when you execute that EXE.
You have to remember that when you are compiling your code, your default home folder is actually your source code folder. All your resources (*.X files etc) are referenced from this source code folder.
When you are running the exe from the debug folder, all your resources are referenced from the debug folder, and you probably have no resources referenced from that folder.