Solved

The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

Posted on 2010-09-22
3
816 Views
Last Modified: 2013-12-16
My corporate network connection broke and I had my VS project crashed. On compiling, it gives me the following two errors:


The referenced component 'System.Web.ApplicationServices' could not be found.       

The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

To resolve the first error, I downloaded the System.Web.ApplicationServices.dll from a web site, copied it to the bin folder and tried to add reference to my project, but it still gives me the same error, any hint/clue please?
0
Comment
Question by:skaleem1
  • 2
3 Comments
 
LVL 1

Author Comment

by:skaleem1
ID: 33740837
I closed and reoped the VS and the first error seems to have disappeared. However, the second one:

The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

is still there. How to get this one resolved, any clues?
0
 
LVL 13

Accepted Solution

by:
SameerJagdale earned 500 total points
ID: 33740869
check if you have referenced the required assemblies, system.core, system.xml.linq, system.data, etc. and your target framework is 3.5.
0
 
LVL 1

Author Closing Comment

by:skaleem1
ID: 33740905
thanks a lot
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reading the Web.Config using IIS 7.5? 4 36
C# bracket error 3 31
Store results in vb.net 3 20
Please explain the parts of these 2 LINQ expressions 3 30
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question