tmenier/Flurl — pull request #5 by benb1n (2014-05-29 20:25:40+00:00)
Title: Nuget post build config fixes

I'm submitting a separate pull request for a couple of Nuget-related changes I made. When I pulled down this solution, I wasn't able to build it because of a couple of post-build errors for building the Nuget packages for Flurl and Flurl.Http. This first change I made was to use the $(ConfigurationName) variable for setting the configuration so solution builds for debug as well as release.

Once that was working, the Flurl.Http post build still failed with an error code of 1. So I ran the build step in a console window and got the following error:

>The 'Microsoft.Bcl 1.1.8' package requires NuGet client version '2.8.1' or above, but the current NuGet version is '2.5.40416.9020'.

I realized that it was not using a Use nuget.exe that's bundled with the project but apparently nuget.exe from a path variable. When I changed the post build step to point to the nuget.exe from the .nuget folder, it worked.

Hopefully this will help other contributors to be able to pull and build without any issues.