Error Message:
The type 'System.Data.Linq.DataContext' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Solution:
Add "System.Data.Linq" reference to the project,
Steps to add reference:
1. Right click on the project that has an error.
2. Click on "Add Reference.."
3. Under ".NET" tab, select the "System.Data.Linq" component and click "OK".
4. Expand the References of the project and should see the System.Data.Linq has been added.
L.





2 comments:
That solved my issue, thank you for this post.
I'm glad and thank you for the comment. :)
Post a Comment