Can't use LINQ from within a Part's code

I have a class library that references system.core. I can execute LINQ statements just fine.

I have a Part.xaml.cs file that does a "using System.Linq" inside an Acropolis application that references System.Core - it gives me all the *** syntax errors that I used to get back last May when the LINQ CTP just came out. Is there anything special I need to do in order to get my LINQ stuff to compile in a part?

[434 byte] By [KevinHoffman] at [2008-2-20]
# 1

Thanks Kevin. Compatibility with LINQ is a known issue and will be fixed in a future release.

Thanks!

Ricky

RickyTan-MSFT at 2007-9-28 > top of Msdn Tech,.NET Development,Acropolis...
# 2
I don't understand how it could break LINQ. I'm attempting to run a LINQ query on an array of strings... I don't see how Acropolis could break that.
KevinHoffman at 2007-9-28 > top of Msdn Tech,.NET Development,Acropolis...
# 3
I was able to use LINQ within a service under Acropolis. Would it be possible for your part to delegate its query to a service?
ivolved_Mike_Brown at 2007-9-28 > top of Msdn Tech,.NET Development,Acropolis...
# 4
CTP1 Acropolis templates were created to use 2.0 toolset and are build using csc compiler version 2.0, while Linq requires 3.5. As Ricky mentions above this will be fixed in the future release.
AlexBulankou at 2007-9-28 > top of Msdn Tech,.NET Development,Acropolis...
# 5
Check out the July CTP... I beleive this issue is fixed...

http://www.microsoft.com/downloads/details.aspx?FamilyId=44977885-86B5-4AA0-9F20-DB365BFB9D10&displaylang=en

BradA-MSFT at 2007-9-28 > top of Msdn Tech,.NET Development,Acropolis...

.NET Development

Site Classified