Stage Failed. Missing receipt 'OneGun.target'. When cooking the game

Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Stage Failed. Missing receipt ‘OneGun.target’. Check that this target has been built.

Where “OneGun” is the name of my project.

I built everything before I tried cooking the game for release, as described in this link. It’s the one and only error I’m getting, and it prevents my project from being cooked and released.

I had the same trouble.
I created another project, moved contents and project file to the new location then it started to work.