HttpRequestMessageExtensions not being found at run-time in Azure Function

前端 未结 4 1417
忘了有多久
忘了有多久 2021-01-02 00:42

I\'ve got an Azure Function app that creates a precompiled DLL (so it uses normal .cs files, not the older .csx method, pre-VS2017). Previously, it was targeting .Net Framew

4条回答
  •  暖寄归人
    2021-01-02 01:23

    Using @Aaron-Newton's insight, I identified that my issue was due to my Azure Functions project referencing a .Net Standard 2.0 class library. I switched it to .Net Framework 4.6 and it started working again. Seems like this is a bug in the Functions tooling.

    I've filed a bug with the Functions team here: https://github.com/Azure/Azure-Functions/issues/477

提交回复
热议问题