【问题标题】:AppVeyor can't restore fody.targetsAppVeyor 无法恢复 fody.targets
【发布时间】:2016-07-01 23:01:44
【问题描述】:

我尝试在 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

我错过了什么?

【问题讨论】:

    标签: continuous-integration appveyor


    【解决方案1】:

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

    nuget restore Src\MoneyFox.sln
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-07-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-14
      相关资源
      最近更新 更多