Click here to Skip to main content
15,884,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Reference is added successfully in web application but when i build the solution the error(found Error 1 The type or namespace name 'Linq' does not exist in the namespace 'System'(are you missing an assembly reference?)
Posted

Hi,

I hope that you fixed the problem, just in case you did not add this line into web config where other assembly's are

HTML
<add assembly="System.Data.Linq," version="3.5.0.0," culture="neutral," publickeytoken="B77A5C561934E089/">;</add>
 
Share this answer
 
Comments
Member 11614731 18-Apr-15 1:44am    
in webconfig file my code is (<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">)
And
in form i am using (using system.data.linq)
Add
C#
using System.Linq;

to your source code.
Adding a reference is not sufficient.
 
Share this answer
 

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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