mail-archives/mono-osx/2007-December/001118.html

121 строка
4.4 KiB
HTML
Исходник Обычный вид История

2019-06-06 22:05:17 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] [Fwd: RE: [Cocoa-sharp] Apple and other assemblies not found?]
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%5BFwd%3A%20RE%3A%20%5BCocoa-sharp%5D%20Apple%20and%20other%20assemblies%20not%0A%09found%3F%5D&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="001121.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] [Fwd: RE: [Cocoa-sharp] Apple and other assemblies not found?]</H1>
<B>marc hoffman</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%5BFwd%3A%20RE%3A%20%5BCocoa-sharp%5D%20Apple%20and%20other%20assemblies%20not%0A%09found%3F%5D&In-Reply-To="
TITLE="[Mono-osx] [Fwd: RE: [Cocoa-sharp] Apple and other assemblies not found?]">mh at elitedev.com
</A><BR>
<I>Sat Dec 29 14:34:09 EST 2007</I>
<P><UL>
<LI>Previous message: <A HREF="001121.html">[Mono-osx] Question for Mono/MAC artical
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1118">[ date ]</a>
<a href="thread.html#1118">[ thread ]</a>
<a href="subject.html#1118">[ subject ]</a>
<a href="author.html#1118">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
-------- Original Message --------
Subject: RE: [Cocoa-sharp] Apple and other assemblies not found?
Date: Fri, 28 Dec 2007 20:27:37 +0100
From: marc hoffman &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">mh at remobjects.com</A>&gt;
To: Joshua Kordani &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">jkordani.mailinglists at gmail.com</A>&gt;,
&lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">cocoa-sharp at lists.ximian.com</A>&gt;
CC: &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">mono-osx at lists.ximian.com</A>&gt;
Joshua,
&gt;<i> I am trying to compile the simple tutorial found at
</I>&gt;<i> <A HREF="http://code.google.com/p/cocoa-sharp-dev/wiki/SimpleTutorial">http://code.google.com/p/cocoa-sharp-dev/wiki/SimpleTutorial</A>
</I>&gt;<i>
</I>&gt;<i> My compiler gives me these
</I>&gt;<i>
</I>&gt;<i> ApplicationController.cs(4,7): error CS0246: The type or namespace
</I>name `Apple'
&gt;<i> could not be found. Are you missing a using directive or an assembly
</I>reference?
&gt;<i> ApplicationController.cs(4,1): error CS0246: The type or namespace
</I>name
&gt;<i> `Apple.Foundation' could not be found. Are you missing a using
</I>directive or an
&gt;<i> assembly reference?
</I>&gt;<i> ApplicationController.cs(5,7): error CS0246: The type or namespace
</I>name `Apple'
&gt;<i> could not be found. Are you missing a using directive or an assembly
</I>reference?
&gt;<i> ApplicationController.cs(5,1): error CS0246: The type or namespace
</I>name
&gt;<i> `Apple.AppKit' could not be found. Are you missing a using directive
</I>or an
&gt;<i> assembly reference?
</I>
&gt;<i> Where is this supposed to reside? I've installed xcode 2.5 and am on
</I>10.4.11.
&gt;<i> Any help would be very appreciated, thanks!
</I>
Unfortunately, this tutorial is WAY outdated. The namespace is now
simply called &quot;Cocoa&quot;, also, the NS prefix has been dropped from all
classes, so it's &quot;Button&quot;, instead of &quot;NSButton&quot; etc. (ftr, this last is
a change that i personally think was a mistake).
Hth,
marc hoffman
RemObjects Software
The Infrastructure Company
<A HREF="http://www.remobjects.com">http://www.remobjects.com</A>
--
marc hoffman
RemObjects Software
The Infrastructure Company
<A HREF="http://www.remobjects.com">http://www.remobjects.com</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="001121.html">[Mono-osx] Question for Mono/MAC artical
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1118">[ date ]</a>
<a href="thread.html#1118">[ thread ]</a>
<a href="subject.html#1118">[ subject ]</a>
<a href="author.html#1118">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>