Core system libraries missing - build error
Good day, we are working on the C# project with the main master branch at https://ci.appveyor.com/project/AlexZhidkov/bedfordharbourbom. 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?
- log_alexvdev.txt 258 KB
- log_alexzhidkov_master.txt 205 KB
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | 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

Support Staff 1 Posted by Feodor Fitsner on 26 Aug, 2015 06:25 AM
I understand this is frustrating, but unfortunately
Unable to find version X of package Ycomes from nuget.org 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.
Support Staff 2 Posted by Feodor Fitsner on 26 Aug, 2015 06:45 AM
Wow, apparently nuget.exe v3.1 which is installed on build workers with VS 2015 always returns
0exit code if there are restore errors - makingnuget-restore.cmduseless.I've filed a bug: https://github.com/NuGet/Home/issues/1259
You can replace nuget.exe with the previous 2.8.5 by adding this PS line to your build script:
3 Posted by alexvgml on 26 Aug, 2015 08:43 AM
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?
Support Staff 4 Posted by Feodor Fitsner on 26 Aug, 2015 08:45 AM
Could you please clarify what do you mean by "your" and "master" building machines?
5 Posted by alexvgml on 26 Aug, 2015 08:59 AM
There are two git repositories: 1st, https://github.com/AlexZhidkov/BedfordHarbourBOM
and my fork,
https://github.com/alexvdev/BedfordHarbourBOM
For each of them, there are two independent AppVeyor build profiles,
https://ci.appveyor.com/project/AlexZhidkov/bedfordharbourbom
and
https://ci.appveyor.com/project/alexvdev/bedfordharbourbom
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.
Support Staff 6 Posted by Feodor Fitsner on 26 Aug, 2015 09:04 AM
Got it.
alexvdevwas running on Azure environment (and there is no VS 2015 and NuGet 3.1 installed). I've just moved it to the same environment asAlexZhidkov.7 Posted by alexvgml on 26 Aug, 2015 09:10 AM
Thanks. Branches of one project should run in the same conditions.
Thank you for the quick response.
8 Posted by alexvgml on 31 Aug, 2015 02:42 AM
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?
Support Staff 9 Posted by Feodor Fitsner on 31 Aug, 2015 06:59 AM
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: http://www.appveyor.com/docs/nuget#restore-with-retries
- Feodor
10 Posted by alexvgml on 31 Aug, 2015 08:06 AM
Thanks. nuget-restore.cmd file was missing actually.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:59 AM.