Did you checked the "Compile EXE" in the publish window?