

You can specify RID as a MSBuild property in a project file, (it doesn't depends on the which OS to use for build process.) When you specify the "Runtime Identifier ( RID)" explicitly, the platform type of the driver file is the same to the RID which you specified.

When you build the project which references the NuGet package of geckodriver on 64bit Windows OS, win64 version of geckodriver will be copied to the output folder.When you build the project which references the NuGet package of geckodriver on 32bit Windows OS, win32 version of geckodriver will be copied to the output folder.PM> Install-Package -Version 0.31.0.1Ĭross-platform building and publishing By default - it depends on the OS running the build processīy default, the platform type of the web driver file copied to the output folder depends on the OS running the build process.
#Unable to find mozilla geckodriver. how to
How to install?įor example, at the package manager console on Visual Studio, enter the following command. NuGet package restoring ready, and no need to commit "geckodriver(.exe)" binary into source code control repository. "geckodriver(.exe)" does not appear in Solution Explorer, but it is copied to the output folder from the package folder when the build process.
#Unable to find mozilla geckodriver. install
This NuGet package install Gecko Driver for Selenium WebDriver into your Unit Test Project. NuGet package - Selenium WebDriver GeckoDriver
