[Mono-osx] [Fwd: RE: [Cocoa-sharp] Apple and other assemblies not found?]
marc hoffman
mh at elitedev.com
Sat Dec 29 14:34:09 EST 2007
-------- Original Message --------
Subject: RE: [Cocoa-sharp] Apple and other assemblies not found?
Date: Fri, 28 Dec 2007 20:27:37 +0100
From: marc hoffman <mh at remobjects.com>
To: Joshua Kordani <jkordani.mailinglists at gmail.com>,
<cocoa-sharp at lists.ximian.com>
CC: <mono-osx at lists.ximian.com>
Joshua,
> I am trying to compile the simple tutorial found at
> http://code.google.com/p/cocoa-sharp-dev/wiki/SimpleTutorial
>
> My compiler gives me these
>
> ApplicationController.cs(4,7): error CS0246: The type or namespace
name `Apple'
> could not be found. Are you missing a using directive or an assembly
reference?
> ApplicationController.cs(4,1): error CS0246: The type or namespace
name
> `Apple.Foundation' could not be found. Are you missing a using
directive or an
> assembly reference?
> ApplicationController.cs(5,7): error CS0246: The type or namespace
name `Apple'
> could not be found. Are you missing a using directive or an assembly
reference?
> ApplicationController.cs(5,1): error CS0246: The type or namespace
name
> `Apple.AppKit' could not be found. Are you missing a using directive
or an
> assembly reference?
> Where is this supposed to reside? I've installed xcode 2.5 and am on
10.4.11.
> Any help would be very appreciated, thanks!
Unfortunately, this tutorial is WAY outdated. The namespace is now
simply called "Cocoa", also, the NS prefix has been dropped from all
classes, so it's "Button", instead of "NSButton" etc. (ftr, this last is
a change that i personally think was a mistake).
Hth,
marc hoffman
RemObjects Software
The Infrastructure Company
http://www.remobjects.com
--
marc hoffman
RemObjects Software
The Infrastructure Company
http://www.remobjects.com
More information about the Mono-osx
mailing list