@AndrewGaspar identified this issue and filed a bug at the PowerShell/vscode-powershell repo: https://github.com/PowerShell/vscode-powershell/issues/64 We need to provide the proper working directory to the PowerShell parser when parsing each file so that module path resolution works correctly.