Running compiled exe results in invalid directory error

Hi there,

This error message is starting to occur more often when running the compiled exe on different endpoints:

The directory shown above is from the computer on which the PowerShell project was packaged as an executable, not the host computer that the exe is currently running on.

Can you please provide some insight as to why this might be happening?

Thanks.