Questions tagged [mono]
Mono is an open-source, cross-platform implementation of the .NET platform.
60 questions
0 votes
0 answers
404 views
Start mono application on startup
This is my first time using a linux/rasbperry pie and I am trying to start a program I made in c# on my windows on startup. It has a graphical user interface, and can run from the command line using ...
-1 votes
1 answer
604 views
WinForms Application on Raspberry Pi OS
Im running Raspberry Pi OS (formerly Raspbian) on a RaspberryPi. I have to develop a WinForms app. RaspberryPi OS is based on Debian. This means I can use the .NET Core SDK (via a snap package). Or I ...
0 votes
0 answers
63 views
monodevelop bug on creating new solution
Just installed mono-complete and monodevelop on my raspberry pi 4. When I run monodevelop, I see the IDE/GUI, but when I try to create a new solution (.NET/Console Project), when I click "Next&...
2 votes
1 answer
1k views
Receive data on the raspberry with c# using mono
I want to send strings between the raspberry and a windows computer via serial and with c#. This works from the raspberry to the computer as shown below. In the picture you can see that I have sent a ...
1 vote
0 answers
71 views
How to receive serial data with c# on a raspberry with mono [duplicate]
Hello I want to make a program for the computer and the raspberry, this program must ensure that the raspberry and the computer can communicate via serial. I have already found a code that does this, ...
0 votes
0 answers
360 views
How to change the decimal separator in C# for raspberry pi with mono?
I'm working on a C# application that I run on raspberry pi with mono. I would like to convert a double A = 0.05 to a double B = 0,05. I succesfully did it on my computer, I changed my Number Decimal ...
1 vote
0 answers
450 views
C# "/dev/ttyGS0" throws error "Invalid Argument"
I'm working on an application for my pi in C# code. The overall idea is to create a usb "pc status" monitor that I can put inside my PC case. My code that runs on the pi uses a ini file for settings. ...
0 votes
1 answer
310 views
Rasbian Stretch monodevelop does not start anymore
After the upgrade monodevelop 7.6.0 crashes with unhandled exception. My mono apps which used to work crash as well. They work on other distros with the same mono version. Any known solution?
1 vote
1 answer
1k views
Mono for Raspberry Pi Zero
I am trying to run a simple "Hello, World" C# app on my Raspberry Pi Zero. It works fine on my Raspberry Pi B+, but I get an "illegal instruction" error on the Zero. In both cases, I am compiling ...
1 vote
1 answer
909 views
Mono can't see serial port
I followed the instructions here to disable Bluetooth so that /dev/ttyAMA0 is available, which it is. I wrote a small Python script to open /dev/ttyAMA0 and send some random data, and I could receive ...
0 votes
0 answers
386 views
crontab @reboot starting an UI Application
I was able to do this until I downloaded the latest raspberry pi image. It is a DotNET WinForm application. Started in crontab using @reboot /home/pi/auto.sh #!/bin/bash cd /home/pi/test export ...
-1 votes
1 answer
1k views
After several days my Pi's stop being able to launch new processes nor allow SSH connections
We are running raspbian stretch and have our mono based application running fine however we've found that after several days (this can be 2 days it could be 7) that our PI's just hang. Kernel: Linux ...
3 votes
2 answers
19k views
How to correctly (error free) install Mono 5 on Raspberry Pi 3 Raspbian Stretch Lite (latest)
I have an application which needs Mono 5 to start properly, since my current version (4.6.2.7+dfsg-1) does not work with it. Also 4.6.2.7+dfsg-1 seems to be the only version I can get installed. Can ...
0 votes
1 answer
273 views
Mono TCP server listening but connection fails
I have a C# program running on Mono on my Pi 3 and listening on port 8877. It's running Raspian and has no firewall as far as I can tell - I've also not installed one. But I cannot connect to it from ...
1 vote
1 answer
2k views
How to run a c# web service from a raspberry pi 3?
I want to write a simple web service in c# using Visual Studios, and deploy this service from a Raspberry Pi 3. I know mono is a tool that runs .NET code on Linux machines, but all of the examples I'...