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
812 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
Comment Utility
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
Comment Utility
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
Comment Utility
thanks a lot
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now