When I compile my code in VS 2010 (.NET 4.0), I get the following warning:
"Warning 1: the reference to the assembly" ThoughtWorks.Selenium.Core "cannot be resolved because it has a dependency on" System.Web, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a ", which is not in the current target ".NETFramework, Version = v4.0, Profile = Client" structure. Remove assembly references not in the target structure or do not consider redirecting your project. "
(It raises this warning, but it really is a mistake, because you cannot use the Selenium namespace because of this.) I tried to add / remove links to the System.Web namespace without any luck. Does anyone know how to fix this?
source
share