Jump to content

Monodevelop not functioning properly on raspbbery pi - 'Predefined type 'System.Object' is not defined or imported'

AndreiArgeanu

I want to do some C# development using my raspberry pi. I have followed the tutorial to install monodevelop on raspbian from their website, after that when I started up a simple C# console project and when trying to build that it gives me the error below. Additionally bits of code in the ide are highlighted with red and all give a similar warning of 'Predefine type 'System.something' is not defined or imported'. And I'm not sure exactly what's the issue. 

 

image.thumb.png.38422faa89c97cb266f451f991daaa1a.png

code

using System;

namespace ctests
{
    class MainClass
    {
        public static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }
}

 

image.png

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×