Hi Sypder!
When you build the project, there should be a "Release" or "Debug" folder inside the project folder (depending if you built it debug or release).
The .exe file inside this folder should be all your need to distribute your game!
Did the error occur when you tried opening this specific file? If so, what error appeared?