Can't seem to get nuget package restore working
Hello!
I followed the advice here http://www.appveyor.com/docs/nuget#nuget-restore and setup a specific task on the before build to restore nuget packages, pointing directly to my sln file. But from the log output, it doesn't seem to be working. It's a public project so should be visible. https://ci.appveyor.com/project/jptoto/log4net-elasticsearch/settings/build
Any help would be much appreciated!
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 07 Nov, 2014 08:19 PM
Hi James,
nuget restore
should be added toappveyor.yml
. When there isappveyor.yml
found UI settings are mostly ignored, or better say "overridden" by YML.2 Posted by JP Toto on 07 Nov, 2014 08:34 PM
Thanks for the reply! When I try adding it to the yml file:
install:
- choco install elastic
before_build:
- nuget restore src\log4net.ElasticSearch.sln
I seem to be getting this error. http://take.ms/5FNy6 I can't tell what I'm doing wrong in the yml?
Support Staff 3 Posted by Feodor Fitsner on 07 Nov, 2014 08:45 PM
Make sure there are no tabs. Also, add new line at the end, just in case.
-Feodor
4 Posted by JP Toto on 07 Nov, 2014 08:51 PM
I think tabs were the problem. Thank you!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 AM.