Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
838 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 2000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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 use and create keystrokes in Netbeans IDE 8.0 for Windows.

618 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