I’ve just released a VS Code extension for PowerShell Universal. It automatically downloads and starts up Universal. It then connects to the web server and you can manage dashboards. It makes it easier to load IntelliSense and restart dashboards right from VS Code.
should this work if Universal is hosted locally, in IIS?
I tried setting the correct port, and pointing it to the correct .Server.exe, but i get errors that it failed to connect.
Edit:
Ok i could get it to work now. I had to also enable Anonymous Auth, additional to Windows Auth. It seems its not possible to connect with only windows auth, right?
@adam
FYI, the VSCode extension v1.5.0 does not work with PSU v1.3.2, it’s not loading anything.
I haven’t tested with 1.4.0 yet because I use custom RBAC auth, but for now I’ll just downgrade the extension
This has been resolved in 1.5.1. Something changed in the toolchain and now files aren’t being included in the final VSIX. Still trying to track down what’s happened. The code change didn’t cause this which is very annoying. I published a patched version.
UPDATE…If anyone else is having this issue, you need to press F1 type in settings, open user preferences setting, expand the extensions drop down, find powershell universal, then uncheck START SERVER this then makes the issue disappear