2016-07-01 28 views
0

Ich versuche Appveyor für mein Projekt auf GitHub einzurichten. Ich habe den Befehl "nuget restore" zum Pre-Build hinzugefügt. Aber jetzt bekomme ich diese Fehlermeldung:AppVeyor kann fody.targets nicht wiederherstellen

"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 

Was fehlt mir?

Antwort

0

ich es geschafft, es zu beheben, indem man zuerst lassen appveyor die Build-Konfiguration durch seine eigene und die zweite auswählen, indem Sie direkt auf die SLN-Datei nuget wiederherstellen ausführen:

nuget restore Src\MoneyFox.sln