我正在尝试在 /SteamBot-master/SteamBot.sln 中编译一个 .sln 文件。经过研究,我发现我只能在 Xamarin Studio 的 mdtool 目录中使用 mdtool。所以我进入终端的内容如下:
"/Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool" -v build SteamBot-master/SteamBot.sln
这是我收到的错误消息:
-bash: /Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool: No such file or directory
mdtool.exec 应用程序在 MacOS 文件中,我已经检查过了。当我尝试在 Xamarin Studio 中运行应用程序时,我收到以下错误:
/Users/Johannes/SteamBot-master/.nuget/NuGet.targets: Error: Command 'bash "/Users/Johannes/SteamBot-master/.nuget/../.ci/exec-with-retry.sh" mono --runtime=v4.0.30319 /Users/Johannes/SteamBot-master/.nuget/NuGet.exe install "packages.config" -source "" -RequireConsent -solutionDir "/Users/Johannes/SteamBot-master/"' exited with code: 127. (SteamTrade)
如果有人可以帮助我解决此问题,我将非常感激,以便我可以使用该应用程序。提前非常感谢您,对于我缺乏编程知识,我深表歉意。
编辑:新的错误信息
jo-macbook:~ Johannes$ /Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool -v build SteamBot-master/SteamBot.sln
Xamarin Studio Build Tool
Projektmappe /Users/Johannes/SteamBot-master/SteamBot.sln wird geladen
Projektmappe /Users/Johannes/SteamBot-master/SteamBot.sln wird geladen
Loading projects ..
Erzeuge Projektmappe: SteamBot (Debug)
SteamTrade (Debug) wird erzeugt
Build started 30.08.2015 14:59:16.
__________________________________________________
Project "/Users/Johannes/SteamBot-master/SteamTrade/SteamTrade.csproj"
(Build target(s)):
Target RestorePackages:
Executing: bash
"/Users/Johannes/SteamBot-master/.nuget/../.ci/exec-with-retry.sh" mono
--runtime=v4.0.30319 /Users/Johannes/SteamBot-master/.nuget/NuGet.exe
install "packages.config" -source "" -RequireConsent -solutionDir
"/Users/Johannes/SteamBot-master/"
bash: /Users/Johannes/SteamBot-master/.nuget/../.ci/exec-with-retry.sh:
No such file or directory
/Users/Johannes/SteamBot-master/.nuget/NuGet.targets: error : Command
'bash "/Users/Johannes/SteamBot-master/.nuget/../.ci/exec-with-retry.sh"
mono --runtime=v4.0.30319
/Users/Johannes/SteamBot-master/.nuget/NuGet.exe install
"packages.config" -source "" -RequireConsent -solutionDir
"/Users/Johannes/SteamBot-master/"' exited with code: 127.
Task "Exec" execution -- FAILED
Done building target "RestorePackages" in project
"/Users/Johannes/SteamBot-master/SteamTrade/SteamTrade.csproj".-- FAILED
Done building project
"/Users/Johannes/SteamBot-master/SteamTrade/SteamTrade.csproj".-- FAILED
Build FAILED.
Errors:
/Users/Johannes/SteamBot-master/SteamTrade/SteamTrade.csproj (Build) ->
/Users/Johannes/SteamBot-master/.nuget/NuGet.targets (RestorePackages
target) ->
/Users/Johannes/SteamBot-master/.nuget/NuGet.targets: error : Command
'bash "/Users/Johannes/SteamBot-master/.nuget/../.ci/exec-with-retry.sh"
mono --runtime=v4.0.30319
/Users/Johannes/SteamBot-master/.nuget/NuGet.exe install
"packages.config" -source "" -RequireConsent -solutionDir
"/Users/Johannes/SteamBot-master/"' exited with code: 127.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.1292110
/Users/Johannes/SteamBot-master/.nuget/NuGet.targets : error: Command 'bash "/Users/Johannes/SteamBot-master/.nuget/../.ci/exec-with-retry.sh" mono --runtime=v4.0.30319 /Users/Johannes/SteamBot-master/.nuget/NuGet.exe install "packages.config" -source "" -RequireConsent -solutionDir "/Users/Johannes/SteamBot-master/"' exited with code: 127.