error while running c# project.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Asp1rant
    New Member
    • Sep 2007
    • 2

    #1

    error while running c# project.

    Hi,

    I am using c#.net express edition. While running the application i am facing the following error:

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

    I have added the references but could not resolve the problem. Could anyone please help me out of this...
  • talhaekram
    New Member
    • Apr 2007
    • 14

    #2
    Originally posted by Asp1rant
    Hi,
    " The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) "
    I have added the references but could not resolve the problem. Could anyone please help me out of this...
    You need to remove this 'linq' refrence.
    Check for its appearance in your file namespace or app.config.
    Or probably you may have used some library whose source is not avaliable.

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by Asp1rant
      Hi,

      I am using c#.net express edition. While running the application i am facing the following error:

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

      I have added the references but could not resolve the problem. Could anyone please help me out of this...
      You added the reference and imported it using a "using" line?

      Comment

      • Asp1rant
        New Member
        • Sep 2007
        • 2

        #4
        Thanks For the reply.


        I have added "using System.Linq;" in the project. after I ran it it gave me the error I mentioned earlier. Then I added The references System.data.lin q, System.windows. forms. Even after this its not working. any suggestions?

        Comment

        Working...