Core system libraries missing - build error

alexvgml's Avatar


26 Aug, 2015 05:58 AM

Good day, we are working on the C# project with the main master branch at The build was successful after the commit 10b6ef7e73b4957baba3a10d072851a8146699e0, but one day, no changes were made to the repository (no commits), it started to build with errors, reporting missing core Nuget libraries. The tries to fix this with manual Nuget update were not successful (f9f55e996168401016b0698b7ff1a7e30c411b2f), log_alexzhidkov_master.txt in the attachment. From the other hand, synchronised forked branch with the same commits builds successfully (log_alexvdev.txt). The fact that the same sources are built differently causes to think that it is a configuration issue with AppVeyor environment.
Can you please check the AppVeyor environment, why one branch is built and other is not, while there sources are the same?

  1. Support Staff 1 Posted by Feodor Fitsner on 26 Aug, 2015 06:25 AM

    Feodor Fitsner's Avatar

    I understand this is frustrating, but unfortunately Unable to find version X of package Y comes from server and usually means their index is broken or being propagated.

    Could you please export your project configuration to YML please (on project settings)? Want to try something.

  2. Support Staff 2 Posted by Feodor Fitsner on 26 Aug, 2015 06:45 AM

    Feodor Fitsner's Avatar

    Wow, apparently nuget.exe v3.1 which is installed on build workers with VS 2015 always returns 0 exit code if there are restore errors - making nuget-restore.cmd useless.

    I've filed a bug:

    You can replace nuget.exe with the previous 2.8.5 by adding this PS line to your build script:

    (New-Object Net.WebClient).DownloadFile('', 'C:\Tools\NuGet\NuGet.exe')
  3. 3 Posted by alexvgml on 26 Aug, 2015 08:43 AM

    alexvgml's Avatar

    Hi Feodor, yes, downloading nuget.exe 2.8.5 fixed the build, thank you.
    But does it mean, that my fork works in different environment and it has working nuget.exe on the machine? Because it had not and does not have such problems.
    Also, my building machine seems to be much slower than the master. So, the machine environments can be different?

  4. Support Staff 4 Posted by Feodor Fitsner on 26 Aug, 2015 08:45 AM

    Feodor Fitsner's Avatar

    Could you please clarify what do you mean by "your" and "master" building machines?

  5. 5 Posted by alexvgml on 26 Aug, 2015 08:59 AM

    alexvgml's Avatar

    There are two git repositories: 1st,
    and my fork,

    For each of them, there are two independent AppVeyor build profiles,

    This I did to run all the build tests at my fork before merging to the main repo.
    So, in my appveyor environment I had not the error.

  6. Support Staff 6 Posted by Feodor Fitsner on 26 Aug, 2015 09:04 AM

    Feodor Fitsner's Avatar

    Got it. alexvdev was running on Azure environment (and there is no VS 2015 and NuGet 3.1 installed). I've just moved it to the same environment as AlexZhidkov.

  7. 7 Posted by alexvgml on 26 Aug, 2015 09:10 AM

    alexvgml's Avatar

    Thanks. Branches of one project should run in the same conditions.
    Thank you for the quick response.

  8. 8 Posted by alexvgml on 31 Aug, 2015 02:42 AM

    alexvgml's Avatar

    Hi Feodor,

    "alexvdev was running on Azure environment (and there is no VS 2015 and NuGet 3.1 installed). I've just moved it to the same environment as AlexZhidkov."

    After this, nuget-restore is not recognisable:

    "nuget-restore' is not recognized as an internal or external command,
    operable program or batch file.
    Command exited with code 1"
    (see log_alexvdev.txt)

    The yaml project settings (see appveyor_alexvdev.yml) are pretty much similar to what are in AlexZhidkov, and it built before your changes. Can you please configure nuget on the alexvdev branch?

  9. Support Staff 9 Posted by Feodor Fitsner on 31 Aug, 2015 06:59 AM

    Feodor Fitsner's Avatar

    nuget-restore.cmd does not depend on the build worker image - it should be either downloaded during the build or added to your repo (branch you are building). Look this for more details:

    - Feodor

  10. 10 Posted by alexvgml on 31 Aug, 2015 08:06 AM

    alexvgml's Avatar

    Thanks. nuget-restore.cmd file was missing actually.

  11. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:59 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

20 Mar, 2019 11:39 PM
20 Mar, 2019 09:03 PM
20 Mar, 2019 08:55 PM
20 Mar, 2019 08:48 PM
20 Mar, 2019 08:02 PM


20 Mar, 2019 07:14 PM
20 Mar, 2019 06:27 PM
20 Mar, 2019 04:02 PM
20 Mar, 2019 08:51 AM
19 Mar, 2019 06:21 PM
19 Mar, 2019 05:22 PM