Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I develop Linux based Raspberry Pi apps in Visual Studio 2015 or on a Mac (Eclipse or XCode)?

I know there's a lot you can do in VS2015 as far as cross platform mobile dev, but I am not sure if it can do Linux, specifically for the Raspberry Pi Raspbian OS. Can it?

If not, can I use something like Eclipse on my Mac or something else on my Windows machine?

I've done some mobile work before in iOS and a tiny bit of exploration in Droid so I imagine it's close to one of those.

like image 757
Beau D'Amore Avatar asked Sep 01 '15 17:09

Beau D'Amore


People also ask

Will there ever be Visual Studio for Linux?

Will Visual Studio 2022 be available on Linux? no, vscode is available for Linux. “Visual Studio” as we know it will always be a Windows only product because it is tied at the hip in literally millions of ways to Windows.

Can VS code run in Raspberry Pi?

Installation. Visual Studio Code is officially distributed via the Raspberry Pi OS (previously called Raspbian) APT repository, in both 32-bit and 64-bit variants.

Can you make apps on Raspberry Pi?

Creating a Raspberry Pi app is no different than creating an app for other targets, so you'll be ready to develop desktop, mobile or web apps whenever you want!

Can you code on a Raspberry Pi?

Raspberry Pi supports C/C++, Python 2/3, and Scratch by default. However, nearly any language compiler or interpreter can be installed on Raspbian OS. If you're interested in learning the basics of coding and software development, check out our Coding Essentials Guidebook for Developers.


2 Answers

Yes you can.

Raspian is a pretty complete OS, so you could run apps compiled by any language like Python/node/C/C++/C#. (Raspberry Pi 2 can now run Ubuntu)

Run Windows Apps

The easiest way to do it would be to load Windows IoT Core onto Raspberry Pi and create UWP apps in Visual Studio. This gives you remote deployment, debugging and powerful APIs from the get go. Windows Iot Core for Raspberry Pi

Python & Node

Write in VS using nodejstools python tools Then you just copy paste the code to rpi, and run it using node/python

C/C++

Simply use VS to develop, and build using the Windows toolchain for Raspberry Pi.

C#

I haven't played around it too much, try mono

like image 54
Jonny Lin Avatar answered Sep 23 '22 23:09

Jonny Lin


You can also use the "Visual C++ for Linux Development" extension for Visual studio 2015

like image 31
Vincent Avatar answered Sep 23 '22 23:09

Vincent