i am getting compline time error, i have created sample application using .NET3.5 its working fine, when i tried to run the same using .NET4.0 it throwing errors.
added the "DotNetAdapter_N2" ref file

Code:
The type or namespace name 'Lightstreamer' could not be found (are you 
missing a using directive or an assembly reference?)
Code:
The referenced assembly "DotNetAdapter_N2" could not be resolved because 
it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework 
".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies
 not in the targeted framework or consider retargeting your project.