[Mono-dev] Using Mono on Windows to use .NET 3.0+ classes

Stifu stifu at free.fr
Sat Mar 14 19:04:54 EDT 2009


Hi,

Here's the thing: I'm stuck on a Windows 2000, and I want to work on a C#
project using LINQ.
LINQ requires the .NET Framework 3.0 or above, which can't be installed on
Windows 2000. So I thought Mono could be a nice solution to use LINQ on
Windows 2000.

I followed these instructions to use Mono with SharpDevelop:
http://community.sharpdevelop.net/blogs/mattward/archive/2005/10/12/SharpDevelopAndMono.aspx
And it works. I can compile and run a project with Mono through SharpDevelop
this way.
I have Mono 2.4 RC2, and set the target framework in SharpDevelop to "Mono
2.0". 

However, I still can't seem to be able to use LINQ...
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 `System'.
Are you missing an assembly reference? (CS0234) - C:\Documents and
Settings\Thomas\Mes documents\SharpDevelop Projects\test\MainForm.cs:14,14

What am I missing?
Thanks!
-- 
View this message in context: http://www.nabble.com/Using-Mono-on-Windows-to-use-.NET-3.0%2B-classes-tp22518217p22518217.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list