Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Sample Project won't build - missing NuGet package: Selenium.WebDriver.ChromeDriver - Visual Studio 2022 #1420

Open
bwmodular opened this issue Jun 7, 2024 · 1 comment
Labels

Comments

@bwmodular
Copy link
Contributor

Bug Report

EasyRepro Version
N/A

UCI or Classic Web
N/A

Online or On Premise
N/A

Browser
N/A

Describe the bug
Clone the latest version of the UIAutomation repo. Open the Solution in Visual Studio 2022. Build.

The Microsoft.Dynamics365.UIAutomation.Sample does not build.

This error is given:
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Selenium.WebDriver.ChromeDriver.113.0.5672.6300\build\Selenium.WebDriver.ChromeDriver.targets.

Full NuGet restore does not help.

Code to reproduce
N/A

Expected behavior
The project should build, or if there are additional steps to carry out, these should be documented in the 'Getting Started' wiki page.

Screenshots
image

Additional context
I've tried installing the latest Selenium.WebDriver.ChromeDriver from Nuget.

@bwmodular bwmodular added the bug label Jun 7, 2024
@TakamitsuEndo
Copy link

TakamitsuEndo commented Jun 20, 2024

Open Microsoft.Dynamics365.UIAutomation.Sample.csproj and find below

<Error Condition="!Exists('..\packages\Selenium.WebDriver.ChromeDriver.113.0.5672.6300\build\Selenium.WebDriver.ChromeDriver.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Selenium.WebDriver.ChromeDriver.113.0.5672.6300\build\Selenium.WebDriver.ChromeDriver.targets'))" />

Modify the version number to match the version of your Selenium.WebDriver.ChromeDriver package (you can find the version in NuGet package manager or in the same .csproj.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants