CentOS 6 .sln xbuild compilation error (SteamBot)

301 Views Asked by At

I recently just started using linux and I'm not very familiar with some of the errors or commands.

I keep getting the following error and really can't understand why

"/home/steambotv1.0/SteamBot-master/.nuget/../.ci/exec-with-retry.sh: No such file or directory"

Why is it looking for that file? it never did on windows (it compiles fine on windows)

Can any please point me in the right direction?

Here is the rest of the error message:

XBuild Engine Version 3.0.0.0 Mono, Version 3.0.0.0 Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.

Build started 8/5/2015 12:00:36 AM.


Project "/home/steambotv1.0/SteamBot-master/SteamBot.sln" (default target(s)): Target ValidateSolutionConfiguration: Building solution configuration "Debug|Any CPU". Target Build: Project "/home/steambotv1.0/SteamBot-master/SteamTrade/SteamTrade.csproj" (default target(s)): Target RestorePackages: Executing: bash "/home/steambotv1.0/SteamBot-master/.nuget/../.ci/exec-with-retry.sh" mono --runtime=v4.0.30319 /home/steambotv1.0/SteamBot-master/.nuget/NuGet.exe install "packages.config" -source "" -RequireConsent -solutionDir "/home/steambotv1.0/SteamBot-master/" bash: /home/steambotv1.0/SteamBot-master/.nuget/../.ci/exec-with-retry.sh: No such file or directory /home/steambotv1.0/SteamBot-master/.nuget/NuGet.targets: error : Command 'bash "/home/steambotv1.0/SteamBot-master/.nuget/../.ci/exec-with-retry.sh" mono --runtime=v4.0.30319 /home/steambotv1.0/SteamBot-master/.nuget/NuGet.exe install "packages.config" -source "" -RequireConsent -solutionDir "/home/steambotv1.0/SteamBot-master/"' exited with code: 127. Task "Exec" execution -- FAILED Done building target "RestorePackages" in project "/home/steambotv1.0/SteamBot-master/SteamTrade/SteamTrade.csproj".-- FAILED Done building project "/home/steambotv1.0/SteamBot-master/SteamTrade/SteamTrade.csproj".-- FAILED Task "MSBuild" execution -- FAILED Done building target "Build" in project "/home/steambotv1.0/SteamBot-master/SteamBot.sln".-- FAILED Done building project "/home/steambotv1.0/SteamBot-master/SteamBot.sln".-- FAILED

Build FAILED. Errors:

/home/steambotv1.0/SteamBot-master/SteamBot.sln (default targets) -> (Build target) -> /home/steambotv1.0/SteamBot-master/SteamTrade/SteamTrade.csproj (default targets) -> /home/steambotv1.0/SteamBot-master/.nuget/NuGet.targets (RestorePackages target) ->

/home/steambotv1.0/SteamBot-master/.nuget/NuGet.targets: error : Command 'bash "/home/steambotv1.0/SteamBot-master/.nuget/../.ci/exec-with-retry.sh" mono --runtime=v4.0.30319 /home/steambotv1.0/SteamBot-master/.nuget/NuGet.exe install "packages.config" -source "" -RequireConsent -solutionDir "/home/steambotv1.0/SteamBot-master/"' exited with code: 127.

1

There are 1 best solutions below

4
On

Test if you can see the file in a terminal window opened with the same user. If not, change the permissions in Admin mode.