Missing Assembly Reference

2 views
Skip to first unread message

Revan

unread,
Jun 13, 2007, 7:07:03 AM6/13/07
to cocoa-sharp-dev
Hi.
I'm trying to get cocoa-sharp working in my macbook and it seems to be
working ok, but there's some problems when I have to use
some references.

I couldn't build the sample
(http://code.google.com/p/cocoa-sharp-dev/wiki/ExampleCocoaDelegates)
due to errors saying like:

>>The type or namespace name ' SpeechSynthesizer' does not exist in the namespace 'Cocoa'

for the line:
protected Cocoa.SpeechSynthesizer synth = new SpeechSynthesizer();

I had almost the same problem for another sample:
http://code.google.com/p/cocoa-sharp-dev/wiki/ExampleUserEventsAndActions

Did I miss installing something or the Path settings?
Does anyone know how to handle this??

Thank you.

Stuart Carnie

unread,
Jun 14, 2007, 2:56:45 PM6/14/07
to cocoa-sharp-dev
I found a similar issue with menu bars not working in the release
build of Cocoa#. The code in SVN does have the SpeechSynthesizer
class.

Here: http://lists.ximian.com/pipermail/cocoa-sharp/2006-January/000763.html
are the steps needed to build Cocoa# from SVN - this will also install
Cocoa# into mono's GAC.

Cheers,

Stu


On Jun 13, 4:07 am, Revan <ryoyosh...@gmail.com> wrote:
> Hi.
> I'm trying to get cocoa-sharp working in my macbook and it seems to be
> working ok, but there's some problems when I have to use
> some references.
>
> I couldn't build the sample
> (http://code.google.com/p/cocoa-sharp-dev/wiki/ExampleCocoaDelegates)
> due to errors saying like:
>
> >>The type or namespace name ' SpeechSynthesizer' does not exist in the namespace 'Cocoa'
>
> for the line:
> protected Cocoa.SpeechSynthesizer synth = new SpeechSynthesizer();
>

> I had almost the same problem for another sample:http://code.google.com/p/cocoa-sharp-dev/wiki/ExampleUserEventsAndAct...

Revan

unread,
Jun 17, 2007, 10:05:34 AM6/17/07
to cocoa-sharp-dev
Stu,

Thank you for the advice. It's working fine now.
I had installed cocoa# from Fink..the steps you showed me for
SVN went fine.

Thank you so much.

Revan.


Reply all
Reply to author
Forward
0 new messages