FunctionMonkey
FunctionMonkey copied to clipboard
Newtonsoft.Json version and property names in ConvertErrors task
Disclaimer: Only trying the 4 beta, so you might be on top of this. But I had to do it in order to get to publish.
I've managed to make the compile step "work" in VS19 by manually copying in the assembly with this changes to the %user%.nuget\… folder.
However, dotnet CLI and VS publish still fails for weird reasons. Seems it still can't find Newtonsoft.Json 12.
In order to get anything through, I comment out the ConvertErrors steps in the build targets file for now.
Shout if you want some logs, but it's really just "Can't find Newtonsoft.Json 12". ;)
Here's the project and deps file that I had problems with.
The actual functions are in the referenced "MarkedsPartner.Middleware.Identity" package.
Only thing actually being compiled in the function project itself is the FunctionAppConfiguration
.
Here's the files:
https://gist.github.com/lars-erik/122893e4c5ce0edec0d376a79a93a785
(OpenApiSpecVersion
and Format
is another PR, but not sure it's needed yet)
On a side note, I resolved this type of exception in another project by adding a handler to AppDomain.AssemblyResolve
. Might be the way to go instead.
(BTW, the beta is now in production at ours'… ;) )