views:

141

answers:

3

I can't add System.Data.Linq or System.Web to project, each time I do I get a warning symbol yellow !, on the reference

Any ideas why?

I had it working all okay this morning

A: 

Sounds like the path to the DLL may no longer be valid. Try removing the reference and adding it in again...

Paul
Tried that still the same
Coppermill
+1  A: 

Did you change the .Net version of the project.

System.Data.Linq does not work for .Net 2.0.

GvS
nope set to .Net 3.5 in the properties
Coppermill
Did you try rebooting? ;-)
GvS
A: 

I've had to create a new project and copy the classes and now it is working.

Coppermill
Did you diff the two project files to see what was different?
Michael Maddox
great idea, I'll check that out
Coppermill