Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
This is the error i'm getting .what is the exact name of the assembly i have to downlaod? and can i get it from google for free?

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

Add a reference by right-clicking on "References" under your project in the Solution Explorer then click Add Reference. Under the .Net tab select System.Xml.Linq then press OK.

Then at the top of your cs file add the line
using System.Xml.Linq
 
Share this answer
 
You don't have to download anything as Linq is already present inside the .NET framework. Look here: http://msdn.microsoft.com/en-us/library/system.linq.aspx[^]. A correct using directive should be all that is nescessary.

Cheers!

—MRB
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900