Unable to find Powershell

February 11, 2024, 19:54

sdestroyer0007

So i have this ssh connection set up with the raspberry pi And i wanted to make a gui (winForms) via vs code to display on the raspberry screen i have (PiTFT 480x320 3.5 inch TFT + Touchscreen voor Raspberry Pi Adafruit) i have installed several extensions from Powershell (picture 1) but if i try to open the form designer in vs code it gives me this error (picture 2) i dont know what im doing wrong here or if im missing something

k9t33n

are you trying to ssh from Vs code?

k9t33n

has ssh worked in putty/normal CMD line?

sdestroyer0007

yes everything from the ssh part works

k9t33n

powershell needs updating

k9t33n

update and restart

sdestroyer0007

i tried the newest version of it i thought that wes the problem and i checked a lower version but still the same problem

sdestroyer0007

but i can try again

k9t33n

tbh I've never used this stuff

k9t33n

I just open a terminal and type ssh pi<model>.local and it works perfectly

sdestroyer0007

well i used visual studio on school and used forms there but i cant ssh with pi with that

k9t33n

Vs code gives you a terminal, try type the ssh command in that

sdestroyer0007

im alreaddy connected to my pi via ssh on vs code

sdestroyer0007

its updated now a,d still gives same error

thunder07337

Wait, do I understand correctly, you make an SSH connection to the Pi from vs code and then try to open Power Shell?

sdestroyer0007

no so i try to make a form in vs code using the Powershell pro tool

sdestroyer0007

but when i try to open the form designer he gives that error that he cant find powershell

k9t33n

please explain, what is your usecase?

sdestroyer0007

make a winforms in vs code to then show on my screen on raspberry pi

sdestroyer0007

with some in outputs on the raspberry pi

sdestroyer0007

but thats pure coding

sdestroyer0007

the problem rn is just that i have everything installed from powershel but still says he cant find it

k9t33n

idk how to help anymore sorry

sdestroyer0007

no problem