Skip to content

Commit c3fcdd1

Browse files
committed
Adding C# script reference to System.Net.Http.Formatting
1 parent d15b3e3 commit c3fcdd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/WebJobs.Script/Description/CSharp/FunctionMetadataResolver.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ public sealed class FunctionMetadataResolver : MetadataReferenceResolver
4141
typeof(IAsyncCollector<>).Assembly.Location, /*Microsoft.Azure.WebJobs*/
4242
typeof(JobHost).Assembly.Location, /*Microsoft.Azure.WebJobs.Host*/
4343
typeof(CoreJobHostConfigurationExtensions).Assembly.Location, /*Microsoft.Azure.WebJobs.Extensions*/
44-
typeof(System.Web.Http.ApiController).Assembly.Location /*System.Web.Http*/
44+
typeof(System.Web.Http.ApiController).Assembly.Location, /*System.Web.Http*/
45+
typeof(System.Net.Http.HttpClientExtensions).Assembly.Location /*System.Net.Http.Formatting*/
4546
};
4647

4748
private static readonly Assembly[] SharedAssemblies =

0 commit comments

Comments
 (0)