You cannot just use the .exe file in the bin folder because this exe file is rely on the other files in the project folder including .dll and .csprj file. I’m not sure you have actually tried the publish function, even though you mentioned you did in the comment. Please verify your operation based on the tutorial below.
Visual Studio will build the project and output the necessary files to the specified folder.
And you can try if it works when you copy the entire publish folder to the other computer.