When I clone the project and open it up in VS2015 and attempt to compile I get the following. No changes, just clone and compile.
1>------ Build started: Project: PreCompiledFunctionSample, Configuration: Debug Any CPU ------
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>C:\Users\user\Development\azfunc-precompiled-sample\src\PreCompiledFunctionSample\MyFunction.cs(13,31,13,53): error CS1061: 'HttpRequestMessage' does not contain a definition for 'GetQueryNameValuePairs' and no extension method 'GetQueryNameValuePairs' accepting a first argument of type 'HttpRequestMessage' could be found (are you missing a using directive or an assembly reference?)
1>C:\Users\user\Development\azfunc-precompiled-sample\src\PreCompiledFunctionSample\MyFunction.cs(18,46,18,65): error CS1061: 'HttpContent' does not contain a definition for 'ReadAsAsync' and no extension method 'ReadAsAsync' accepting a first argument of type 'HttpContent' could be found (are you missing a using directive or an assembly reference?)
1>C:\Users\user\Development\azfunc-precompiled-sample\src\PreCompiledFunctionSample\MyFunction.cs(24,23,24,37): error CS1061: 'HttpRequestMessage' does not contain a definition for 'CreateResponse' and no extension method 'CreateResponse' accepting a first argument of type 'HttpRequestMessage' could be found (are you missing a using directive or an assembly reference?)
1>C:\Users\user\Development\azfunc-precompiled-sample\src\PreCompiledFunctionSample\MyFunction.cs(25,23,25,37): error CS1061: 'HttpRequestMessage' does not contain a definition for 'CreateResponse' and no extension method 'CreateResponse' accepting a first argument of type 'HttpRequestMessage' could be found (are you missing a using directive or an assembly reference?)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
When I clone the project and open it up in VS2015 and attempt to compile I get the following. No changes, just clone and compile.
Is there some kind of additional SDK to install or other prerequisites? I just wanted to try out the sample here https://github.com/Azure/azure-webjobs-sdk-script/wiki/Precompiled-functions