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

12,750

Solution 1

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

Solution 2

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

Solution 3

I use my Raspberry Pi to write desktop programs in C#.Net. I use Mono to run the program and MonoDevelop to write it. Mono supports using System.Windows.Forms on the Raspberry Pi, but MonoDevelop only supports GTK for a gui. To use System.Windows.Forms, you need to code it directly instead of dropping controls on a form.

http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install mono-complete

sudo apt-get install monodevelop

Needed for debugging of console applications:

sudo apt-get install xterm
sudo apt-get dist-upgrade
Share:
12,750
Beau D'Amore
Author by

Beau D'Amore

SOFTWARE ENGINEER, WITH 20+ years of experience committed to supporting key thought leaders in the advancement of sustainable programs and enrichment of overall operations. AREAS OF EXPERTISE Requirements Gathering Translate Business Needs Critical Thinking Priority Organization Senior Executive Collaboration Implement Design Functionality Team or Solo Capable Cloud and Legacy systems eCommerce Competency Sitecore Certified User Experience Skilled in the following: Visual Studio, C#, MVC, NET Core, WebAPI, SQL, JavaScript, JQuery, Bootstrap, Ajax, GIT, NodeJS, NightwatchJS, HTML, Jira, Azure Dev Ops, Testing Automation, AWS: EC2, RDS, S3 PROFESSIONAL EXPERIENCE Senior Programming Analyst, Vitas, Miami, FL 5/2019-present Senior Technology Developer, The Primacy, West Palm Beach, FL 5/2018-01/2019 Senior Software Engineer, Verity IQ (start-up), Boca Raton, FL 2/2018-04/2018 Software Engineer, OPENCLOSE, West Palm Beach, FL 8/2017-02/2018 .Net Engineer 2, RADIAL (Formerly eBay Enterprises), Boynton Beach, FL 10/2015-04/2017 .Net Operations Engineer, WEALTH MANAGEMENT SYSTEMS INC., West Palm Beach, FL 08/2014-04/2015 Software Engineer, TRIAGENCY, Philadelphia, PA 06/2012-01/2015 Senior Software Engineer, eDERM Systems LLC., Boca Raton, FL 03/2013-08/2013 Web Programmer, WEBIMAX.COM, Mt. Laurel, NJ & South Florida 06/2011-06/2012 EDUCATION Data Processing Trainers Business School, Philadelphia, PA Client Server Programming OCCUPATIONAL CERTIFICATIONS Sitecore Certified 9.0

Updated on June 12, 2022

Comments

  • Beau D'Amore
    Beau D'Amore about 2 years

    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.

  • Beau D'Amore
    Beau D'Amore almost 9 years
    Thank you very much for the directions to take.