Build error - cannot access the file... because it is being used by another process

Was trying to build my project and got this error:

UATHelper: Packaging (Windows (64-bit)): Copying NonUFSFiles to staging directory: C:…\Saved\StagedBuilds\WindowsNoEditor
UATHelper: Packaging (Windows (64-bit)): ERROR: System.IO.IOException: The process cannot access the file ‘C:\Users…\Saved\StagedBuilds\WindowsNoEditor\LandNav.exe’ because it is being used by another process.

UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error

The fix was to include some maps in the “include maps” list in project packaging settings. Just wanted to report this here because the build error seemed to suggest something else which was confusing, so maybe this helps somebody in future.

(unrelated note, this new thread is requiring me to add a tag, but the list of tags is limited)