0
我在我的VS中使用Selenium WebDriver進行了一些簡單的NUnit測試。如何使用MSBuild +批處理在控制檯中運行我的測試?我創建.bat文件如下:如何使用MSBuild + Bath來運行Selenium WebDriver的NUnit測試?
set pathMSBuild = "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\"
@echo off
cls
cd %pathMSBuild%
msbuild.exe "C:\Users\IliA\Documents\Visual Studio 2015\Projects\GitHubAutomation\GitHubAutomation.sln" /p:configuration=debug
pause
但是當我嘗試運行的build.bat我有一個錯誤:「的MSBuild」不被識別爲一個內部或外部命令,可操作的程序或批處理文件。
我的build.bat坐落在C:\