[Mono-dev] Error CS0246: The type or namespace name `Spotify' could not be found. (CS0246)

Adar Wesley adar.wesley at gmail.com
Sat Aug 21 07:39:07 EDT 2010


The using statement does not include the reference to the assembly.  It only
introduces a known namespace into the global one.

You are probably missing the actual reference to the assembly.
The way to add the reference depends on your dev env and the way you
compile.

Hope this helps ...

---
Adar Wesley


On Sat, Aug 21, 2010 at 1:54 PM, KillerSponge <killersponge at gmail.com>wrote:

>
> Hello,
>
> I'm quite new with C#/Mono, so this is probably a very simple problem, but
> I
> just can't seem to figure it out.
>
> I've been trying to write a Spotify plugin for Banshee using the
> libspotify-sharp library. The problem is that once I try to include the
> library with "using Spotify", the compiler complains that the namespace
> cannot be found (CS0246). I have setup the references, and I am able to
> browse the methods in the namespace with monodevelop, so I'm quite
> mystified.
>
> It might be worth mentioning that the demo project that comes with the
> library compiles just fine, and I can't really seem to find any differences
> between the way the demo project is using the reference and my own project
> is using them.
>
> I really hope someone can help me out with this one, thanks in advance! :)
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Error-CS0246-The-type-or-namespace-name-Spotify-could-not-be-found-CS0246-tp2333392p2333392.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100821/df0b580a/attachment.html 


More information about the Mono-devel-list mailing list