Link to home
Create AccountLog in
Avatar of chuang4630
chuang4630

asked on

How to get LINQ working in the VS 2008?

I just start to learn the Linq and Linq to SQL, in particular. The trouble I am having is that VS 2008 does not recognize System.Data.Linq. I believe taht I have t .NET 3.5 installed at (C:\WINDOWS\Microsoft.NET\Framework\v3.5)

Where should I start to look at?
Avatar of graye
graye
Flag of United States of America image

Make sure your "target" Framework is v3.5 and add a reference to System.Data.Linq
http://msdn.microsoft.com/en-us/library/7314433t.aspx 
 
Avatar of chuang4630
chuang4630

ASKER

Ok. I added the reference and it works now. However, how do I make sure the "target" Framwork is v3.5?
Avatar of Fernando Soto
If you were able to add the reference to the project you are using .Net Framework 3.5.
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer