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
823 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

707 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