fre*_*chx 1 c# console watin assemblies reference
我正在尝试使这个基本的Watin控制台应用程序工作但是我遇到了以下错误:
"Warning 1 The referenced assembly "WatiN.Core" 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. consoletest"
Run Code Online (Sandbox Code Playgroud)
我已经确保将STAThread]属性应用于他们推荐的main方法.
下面是项目的屏幕截图:链接
附加说明:我安装了最新版本的watin(2.1),我设法得到一个类似的应用程序作为Windows类文件运行,但需要能够直接运行这个并看到输出,这就是为什么我正在制作一个Windows控制台应用.
任何帮助将不胜感激:)