Package project for Windows creates no exe

I had the same problem, in my case helped setting Settings → Packaging → Project → Build to Always.