Reputation: 2817
Hey all! I converted my 2.0 site to 3.5 so I can take advantage of using LINQ. It converted the solution to 2008 okay, but the only project/site I can use LINQ in is the UI [web site]. All the sub projects (Business, Data, Model, Utility) can't add a reference to System.Core. It's greyed out. So, I can't add the namespace System.Linq to take advantage of the features.
The only layer that works is my UI layer. The solution loads and compiles fine in VS2K8.
Upvotes: 2
Views: 217
Reputation: 2817
Annnnd, I found out why. For the website, you set the Target Framework, however for Projects, you have to change the following:
Right click Properties on project Click Compile tab Click on Advanced Change framework from 2.0 to 3.5
Works like a charm now. I thought my solution converted over fine, but I guess not!
Upvotes: 3