Appveyor NUnit for google.apis
I'm trying to enable appveyor nunit tests for my projects using the following pull request
https://github.com/google/google-api-dotnet-client/pull/618
I thought that the reason it won't work is because I'm using SL version, so I even tried to change the PCL profile version to not include SL and tried even other stuff as well. Everything is in the pull request.
More details about SL configuration are available here: https://github.com/google/google-api-dotnet-client/issues/555
I've no idea, why tests work locally, you can try it yourself, BUT when using appveyor they fail...
What am I doing wrong?
Error file:
Look at line 122 in the following build: https://ci.appveyor.com/project/jtattermusch/google-api-dotnet-client/build/1.0.16
Let me know what other details I should add here...
Thanks!
Eyal
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 23 Oct, 2015 06:14 AM
If you search the build log by
Primitivesyou'll notice thatSystem.Net.Http.Primitives.dllis never restored.Try adding
nuget restorecommand before the build. That should do the trick.2 Posted by peleyal on 23 Oct, 2015 01:29 PM
There isn't a NuGet package for System.Net.Http.Primitives, it's part of Microsoft.Net.Http package (take a look at: https://github.com/google/google-api-dotnet-client/blob/master/Src/GoogleApis/GoogleApis.csproj#L133).
Am I missing something?
Thanks for the quick response, looking forward to fix it :)
Eyal
Support Staff 3 Posted by Feodor Fitsner on 23 Oct, 2015 06:56 PM
OK, I see.
Try adding few
dircommands to see what nuget packages/assemblies are being restored?Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 AM.