Conversion from 2005 to 2008, problems with System.Core

Hey everyone! I converted my site 2.0 to 3.5 to use LINQ. He converted the 2008 solution ok, but the only project / site I can use LINQ on is UI [website]. All subprojects (Business, Data, Model, Utility) cannot add a reference to System.Core. He sat down. Thus, I cannot add the System.Linq namespace to take advantage of these features.

The only layer that works is my UI layer. The solution is downloaded and compiled in VS2K8.

+2


source to share


1 answer


Annnd, I found out why. For the website, you set the target framework, however, for projects, you must change the following:

Right click Properties in the project Compile tab Click More Change frame from 2.0 to 3.5



Now works like a charm. I thought my solution was reworked great, but I don't think so!

+3


source







All Articles