Package Script as Exe Failing

Tool: Visual Studio Code
Version: 1.76.0


I’m running into the below error when attempting to package a script as an exe in VS Code.

I’ve scrubbed out the local source as it contains machine name. The local source was one of my trusted PSRepositories, but I’ve since removed it and still running into this error.

In the psd1, I’m using DotNetVersion v4.6.2. After attempting to package as exe, the ‘out’ folder is created, but it is empty. Would appreciate any help or guidance. Thank you.