Can I get a Visual Studio C # program for managing raspberry pi?

I am working on a project that combines a visual studio application and a raspberry pi.

Is there an easy way to run a terminal program (for example, "python script.py") on a raspberry pie through a Visual Studio C # program and get the results?

+4
source share
1 answer

IF YOU CONTINUE Windows 10 ON THE BOY .

You can use remote Powershell on raspberries running on Windows 10 with the following:

# Start WinRM on the local Windows OS
net start WinRM

# Vérify RaspBerry PI3 access
Test-Connection jpbraspbpi3-1

# Allow accesss to Raspberry PI3
Set-Item WSMan:\localhost\Client\TrustedHosts -Value 'jpbraspbpi3-1'

# Etablish the connexion
Enter-PSSession -ComputerName 'jpbraspbpi3-1' -Credential (Get-Credential -UserName 'administrator' -Message 'Mot de passe !')

# You can allow a pseudo cmd.exe command line on the Windows 10 of your Raspberry
reg.exe ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\EmbeddedMode\ProcessLauncher" /v AllowedExecutableFilesList /t REG_MULTI_SZ /d "c:\windows\system32\cmd.exe\0"

Then you can use developp using .NET core on raspberries .

, Mono (.net ).

+3

Source: https://habr.com/ru/post/1690663/


All Articles