0

我尝试在 github 上为我的项目设置 appveyor。我在预构建中添加了“nuget restore”命令。但现在我收到此错误消息:

"C:\projects\moneyfox\Src\MoneyFox.sln" (default target) (1) ->
"C:\projects\moneyfox\Src\MoneyFox.Windows\MoneyFox.Windows.csproj" (default target) (2) ->
"C:\projects\moneyfox\Src\MoneyFox.Shared\MoneyFox.Shared.csproj" (default target) (3) ->
(EnsureNuGetPackageBuildImports target) -> 
  C:\projects\moneyfox\Src\MoneyFox.Shared\MoneyFox.Shared.csproj(276,5): 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\Fody.1.29.4\build\portable-net+sl+win+wpa+wp\Fody.targets.
"C:\projects\moneyfox\Src\MoneyFox

我错过了什么?

4

1 回答 1

0

我设法通过首先让 appveyor 自己选择构建配置,然后通过直接在 sln 文件上执行 nuget restore 来修复它:

nuget restore Src\MoneyFox.sln
于 2016-07-02T12:29:04.977 回答