Skip to content

Could not load file or assembly '/usr/bin/Microsoft.Build.dll' or one of its dependencies #15

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions