Could not load file or assembly 'System.Data.Linq, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' RRS feed

  • Question

  • User1501783605 posted

    Hi I am new to asp.net web pages i have created a data layer and accessing sql data using a LINQ to SQL connection,

    system build without any error on run time on call to the LintoSql i get the above error.

    i am using .net core 2.2 appropriate your assistance  

    Wednesday, July 10, 2019 10:27 AM


  • User839733648 posted

    Hi Rushdy.

    well tried but it did not fixed the issue the project i am working on is it targeting .net core 2.2 and the class library is build is .net 4.7.2  which implemente the data access.

    System.Data.Linq is not part of .NET Standard and .NET Core.

    So it cannot be used on that platform and you may meet the error.

    I suggest that you could refer to this similar issue to try the solution: https://stackoverflow.com/questions/45935148/system-data-linq-in-netstandard20 

    You may try to use Mindbox. Data. Linq NuGet package to see if it works.

    Best Regards,


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 11, 2019 6:23 AM

All replies