This NuGet package installs PhantomJS into the bin directory of your Selenium Unit Test project. This project is heavily inspired by and borrows from the Selenium.WebDriver.ChromeDriver project.
Just add this nuget package to your test project and it will copy PhantomJS to the bin folder during the build process. This way, there is no need to commit PhantomJS.exe to your source control repository.
At the package manager console on Visual Studio, enter following command:
PM> Install-Package Selenium.WebDriver.PhantomJS
This project is licensed under the BSD license in compliance with PhantomJS licensing resctrictions. See LICENSE.bsd for details.