[Mono-dev] Using Mono on Windows to use .NET 3.0+ classes
stifu at free.fr
Sun Mar 15 04:12:49 EDT 2009
Oh, alright. I was confused betweens the dll and namespace (I *did* find it
weird to have "dll" in a namespace... :p).
So I added System.Core.dll to the references (for the info, the file is
located at: C:\Program Files\Mono-2.4\lib\mono\2.0\System.Core.dll), then
added a using statement for System.Linq.
Now everything works.
Thanks for your help!
Michael Hutchinson wrote:
> On Sat, Mar 14, 2009 at 7:04 PM, Stifu <stifu at free.fr> wrote:
>> I simply tried adding this to my project:
>> using System.Core.dll;
>> And here's the compilation error I get:
>> The type or namespace name `Core' does not exist in the namespace
>> Are you missing an assembly reference? (CS0234) - C:\Documents and
>> Settings\Thomas\Mes documents\SharpDevelop
>> What am I missing?
> Importing a namespace with a using statement is very different from
> adding a reference.
> Use the context menu on the "References" folder in the project to
> reference the dll.
> Michael Hutchinson
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
View this message in context: http://www.nabble.com/Using-Mono-on-Windows-to-use-.NET-3.0%2B-classes-tp22518217p22520882.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list