[Mono-osx] Getting Mono to work (simple console.writeline)

flux janbecker89 at web.de
Thu Feb 23 12:02:57 UTC 2012


Hey,

im tryin to get a simple console application in Mono up and running on my
Mac.

using System;

namespace test
{
	class MainClass
	{
		public static void Main (string[ ] args)
		{	
			Console.WriteLine("Hallo");
		}
	}
}

produces the following message in terminal:

PKG_CONFIG_PATH=/Applications/MonoDevelop.app/Contents/MacOS/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/2.10.8/share/pkgconfig:/Library/Frameworks/Mono.framework/Versions/2.10.8/lib/pkgconfig:
Command not found.


Any ideas?

--
View this message in context: http://mono.1490590.n4.nabble.com/Getting-Mono-to-work-simple-console-writeline-tp4413660p4413660.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list