I’m creating a little Silverlight LOB app. I created the app + web in Blend 4 and I’ve opened the solution in VS2010 to add the WCF service. When I do so, it shows an error on using System.Linq;. It says:
The type or namespace name ‘Linq’ does not exist in the namespace ‘System'(are you missing an assembly reference?)
I had VS2010 create the WCF service and I’ve tried to re-add the reference in for .NET 4 System.Core.dll.
So newbie dev question… What did I do wrong 🙂
Check in the references if you DO see the System.Core.dll assembly.
If you do not see it, add it manually.
It should be in
C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll(or inProgram Files (x86)if your OS is x64).After recompiling it should then work.