I cannot understand why I cannot add a link to the .net namespace System.Linq . I used aspnet_regiis to check if the latest version of asp.net is installed:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis -lv 2.0.50727.0 C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll 4.0.30319.0 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll 4.0.30319.0 C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll
I also tried adding a link to System.Core , but still I cannot reference the System.Linq dll.
Also in my web.config under
<assemblies> <add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> </assemblies>
as mentioned above, before the links to System.Core and System.Data.Linq Exist in my website application: in the section “Properties page” → links I could clearly see exsiting refrences, I added them again just in case, and that’s all I can’t use System.Linq or System.Linq.Data NameSpaces.
Any ideas how I could reference the System.Linq DLL would be appreciated.
source share