Hot answers tagged

5 votes
Accepted

Mono on Raspberry Pi

Mono works absolutely fine on a Pi - we already have a tag and a few dozen questions on the topic. Getting started should be as straightforward as punching in: sudo apt-get update sudo apt-get ...
  • 10.6k
4 votes
Accepted

Autostarting a mono application

First: create a start.sh file like this: cd /home/pi/Test mono monoApp.exe Second: make this file executable chmod +x start.sh Third: setup crontab on startup crontab -e and add reboot file: @...
2 votes

Reason that Raspberry PI running under Mono 4.4.2 requires the MonoApplications line rather than the MonoApplicationsConfigDir line

Apache2 server gets confused when it sees that the apache2.conf file's , also referred to as httpd.conf file, Mono settings conflict with the mono settings in mono-server4-hosts.conf if debian....
  • 153
2 votes

Running Visual Studio Built C# GUI on Raspbian Jessie

You could use Mono with Xamarin studio. I did some basic application in wheezy, the GUI update speed is quite low.
  • 41
2 votes

Program gets wrong time when loaded on boot

What am I doing wrong? Using /etc/profile to run a boot service. But that's not the cause of this particular problem. The Pi does not have a real time clock like standard computers. The system has ...
  • 56.5k
2 votes

How to install MonoDevelop or other IDE for Mono 5.2.0 on Raspberry Pi 3?

i found this link which explains the process i think but i haven't tried it for myself (yet). you need to add the mono repository using the commands shown (see link) and then you can just do sudo apt-...
  • 21
2 votes
Accepted

Mono TCP server listening but connection fails

It turns out I the problem was with the C# app. It was listening on the local address: IPAddress.Loopback When apparently to be accessible on the network it needs to listen on: IPAddress.Any
  • 121
2 votes

How to correctly (error free) install Mono 5 on Raspberry Pi 3 Raspbian Stretch Lite (latest)

You do need to follow the instructions at: Mono - Download The problem is that they are missing a step. Those steps will only upgrade our repo list so that it will find the right version of mono to ...
2 votes
Accepted

SignalR on Mono Raspbian

Yep, @Aurora0001 you're right, thanks! So, I did only sudo apt-get install mono-complete which installed the Mono 3.2.8 instead the latest version. I forgot add the Mono repository to my system: ...
  • 153
2 votes
Accepted

Mono for Raspberry Pi Zero

I get that the Zero has an ARMv6 architecture and the B+ an ARMv7 No. The B+ (aka "model 1 B+": https://www.raspberrypi.org/products/raspberry-pi-1-model-b-plus/) and Zero both have ARMv6 single ...
  • 56.5k
1 vote
Accepted

Mono can't see serial port

If this really is the current code then it would seem that public static string [] GetPortNames () is only probing for /dev/ttyS* or /dev/ttyUSB* as naming schemes: // Are we on Unix? if (p == 4 || p ...
  • 15.6k
1 vote

How to correctly (error free) install Mono 5 on Raspberry Pi 3 Raspbian Stretch Lite (latest)

I experienced the same problem using the same guide. Installing mono-complete allowed me to upgrade to 5.12.
  • 111
1 vote

Is there a way to install back the original Mono to Raspbian?

Follow steps from Dr. Rabbit, then these: https://stackoverflow.com/questions/33763177/install-older-version-of-mono You make your debian repo point to a snapshot of a release, instead of the current ...
  • 11
1 vote

.Net Core apps on Mono

You can't run .Net core apps on a arm32v6 cpu at the moment. But if you rewrite your app in normal .net then you can use mono to run it on your pi zero
  • 111
1 vote

Application on Mono stopped working properly

From GitHub Raspberry-Sharp Issues Page it looks like recent kernels have changed the way the processor is reported. The page also shows the solution, which involves manual changes and rebuild ...
  • 31
1 vote

My mono service crashed - how do I figure out what happened?

I work with mono and logging service crashes is nearly impossible. But there is a trick, if you execute the service using mono instead of mono-service combined with the screen command you can get ...
  • 211
1 vote
Accepted

RaspberryPi 2 and latest version of mono

Okay, I think architecture is getting in the way here. If you exactly followed the instructions on the site, undo all of them. I'm sure they're for x86/x64 (your everyday PCs). The Pi is using ARM (...
  • 7,088
1 vote

Mono with Winform, Xlib: extension "RANDR" missing on display ":10.0"

I had the same error while working on opencv, cv2.imshow(). Try replacing the host server. I replaced tightvncserver with x11vncserver and things worked like a charm.
1 vote
Accepted

Rotary encoder/monitoring multiple pins with Raspberry Sharp

I figured this out. I had done some exceedingly stupid things first time round. Ultimately I ported the code posted here: http://abyz.me.uk/rpi/pigpio/ex_rotary_encoder.html, which provided a really ...
  • 10.6k
1 vote

running MonoGame on Raspberry Pi

you will need to make some tweaks to OpenTK to get it working on the Pi. I did have a blog post on the subject but after a site hack I lost it but web archive has it http://web.archive.org/web/...
1 vote

Sending data to a 1602 LCD in Mono C# over i2c

The standard 1602 tpye character LCDs do not have an I2C interface as far as I know. Do you have an LCD display that has some active components added to work with I2C (I know people build PCB around ...
  • 188
1 vote
Accepted

Pi B+ as a 24v motor controller, code written in C#(Mono). Power concerns

It's hard to see any use for the 6 1.5V cells. They are unlikely to reliably power the Pi for more than a few minutes. The 3V cell might be useful if you want to attach a RTC to the Pi so that it ...
  • 67.9k
1 vote

Mono hard float latest release is failing for Text box control

This is a known issue with the version of mono in raspbian (currently all releases), it is belived to be related to an incomplete implementation of the arm hard float ABI. It appears to have been ...
  • 5,573
1 vote
Accepted

Mono C# SPI interface

Take a look at my solution RaspiSharp, https://github.com/gusmanb/RaspiSharp , it uses a native interface (an improved version of bcm2835 lib by Mike McCauley) to attain very high speeds and uses the ...
  • 211
1 vote

How do I run a background service written in MONO?

you can create init.d script and use start-stop-daemon together with nohup to start your app in the background. Here is an example with kestrel web server (which is eventually run with mono). Just ...
  • 141
1 vote

How can I run a MONO application/program on boot?

You can use "mono-service" to run programs in the background. You can run your compiled code like so: mono-service /home/pi/Desktop/StartBrowser.exe By default, this creates a lockfile in /tmp. You ...
  • 143

Only top scored, non community-wiki answers of a minimum length are eligible