You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build mvc dotnet solution file from ubuntu but every time i am getting only errors as below
i have used these commands to install msbuild and nuget
[ apt-get install -y nuget mono-devel mono-xbuild ]
$ nuget restore SeleniumNUnitParam.sln
MSBuild auto-detection: using msbuild version '' from '/usr/bin'.
Error parsing solution file at /root/SeleniumNUnitParam/SeleniumNUnitParam.sln: Could not load file or assembly '/usr/bin/Microsoft.Build.dll' or one of its dependencies
$ xbuild SeleniumNUnitParam.sln
Target EnsureNuGetPackageBuildImports:
/root/SeleniumNUnitParam/SeleniumNUnitParam/SeleniumNUnitParam.csproj: error : 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.2.27.0/build/Selenium.WebDriver.ChromeDriver.targets.
The text was updated successfully, but these errors were encountered:
Is there any solution? I suspect this is because some piece of dotnet (I have no idea which) is installed under /usr/bin and looking for the rest of itself in the same place. I think whatever that is "/usr/bin/msbuild" should not have been copied there but only a symlink created. (I have a similar problem with a completely different project.)
I'm trying to create a scripted pipeline using jenkins for .net application for instance I'm taking the code from https://github.com/executeautomation/SeleniumNUnitParam and trying to create .msi package. I'm just able to checkout the code but later the build steps are failing stating the file ,directory or volume label syntax is incorrect. I have Installed msbuild,git and nuget plugin. Below is my code
Hi ,
I am trying to build mvc dotnet solution file from ubuntu but every time i am getting only errors as below
i have used these commands to install msbuild and nuget
[ apt-get install -y nuget mono-devel mono-xbuild ]
$ nuget restore SeleniumNUnitParam.sln
MSBuild auto-detection: using msbuild version '' from '/usr/bin'.
Error parsing solution file at /root/SeleniumNUnitParam/SeleniumNUnitParam.sln: Could not load file or assembly '/usr/bin/Microsoft.Build.dll' or one of its dependencies
$ xbuild SeleniumNUnitParam.sln
Target EnsureNuGetPackageBuildImports:
/root/SeleniumNUnitParam/SeleniumNUnitParam/SeleniumNUnitParam.csproj: error : 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.2.27.0/build/Selenium.WebDriver.ChromeDriver.targets.
The text was updated successfully, but these errors were encountered: