2016-10-05 15 views
0

私はC#でSeleniumを使ってUIAutomation Projectをやっています。自動化はInternet Explorerで行われます。だから私は、NuGetパッケージマネージャからIEDriver.exeをダウンロードしようとしましたが、次のエラーに直面:私はこの警告の上にいくつかの混乱をしましたパッケージ 'IEDriver 2.0.0'をインストールできませんでした。

Severity Code Description Project File Line Suppression State Error
Could not install package 'IEDriver 2.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.1', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0

を。

  • パッケージには、任意のアセンブリ参照か、そのフレームワークと互換性のあるコンテンツファイルが含まれていないものをアセンブリ参照と私のtarger grameworkバージョンv4.6.1のために互換性のあるコンテンツファイルは何

答えて

0

IEDriver 2.0 NuGetパッケージを見ると、IEDriverServer.exeという単一のファイルだけが含まれています。

このNuGetパッケージをプロジェクトにインストールすることはできません。 libディレクトリはありませんので、NuGetはプロジェクトに追加することができません。

関連する問題