I don't think it is strictly necessary to run VS Code as Admin to get this whole process working. I've been able to successfully build from a non-admin VS Code session using this template.
If the problem is with the closeSim.ps1 script, I think setting the PowerShell execution policy to RemoteSigned will allow it to run the script after it has been Unblocked. The commands in the script itself don't seem to require Admin in order to work.
I'd be curious to hear why it may have been necessary in the past!
I don't think it is strictly necessary to run VS Code as Admin to get this whole process working. I've been able to successfully build from a non-admin VS Code session using this template.
If the problem is with the closeSim.ps1 script, I think setting the PowerShell execution policy to RemoteSigned will allow it to run the script after it has been Unblocked. The commands in the script itself don't seem to require Admin in order to work.
I'd be curious to hear why it may have been necessary in the past!