The type or namespace name 'Linq' does not exist...
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: The type or namespace name 'Linq' does not exist...

  1. #1
    Join Date
    Nov 2006
    Posts
    103

    The type or namespace name 'Linq' does not exist...

    I just installed Microsoft Visual C# Express Edition, brought up a project and made it.. No problems... Great...

    I simply added a class to the project and complied without even touching the new class and I am getting this error message:

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

  2. #2
    Join Date
    Nov 2002
    Location
    .NET 3.5 VS2008
    Posts
    1,039

    Re: The type or namespace name 'Linq' does not exist...

    You probably need to add a reference. I suggest System.Xml.Linq.

  3. #3
    Join Date
    Mar 2008
    Posts
    72

    Re: The type or namespace name 'Linq' does not exist...

    System.Linq is defined in the System.Core.dll. .NET 3.5 only, I believe.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center