Skip to content

MethodNotFound when trying to call JsonResult with JsonSerializerSettings #2575

@marjtecson07

Description

@marjtecson07

Azure Functions Core Tools (3.0.3442)
Function App: netcoreapp2.1
Function App Version : v2

Error when testing the HTTP function:
System.Private.CoreLib: Exception while executing function: PostReport. http.functions.core: Method not found: 'Void Microsoft.AspNetCore.Mvc.JsonResult..ctor(System.Object, Newtonsoft.Json.JsonSerializerSettings)'.

There was a related issue 1907 posted previously however, the suggested solution won't work in my case since I'm using netcoreapp2.1. Can someone direct me as to which version of azure-functions-core-tools is compatible with my function app?
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions