Hi, I hope this is a right place. After update of Azure Function runtime to v2.0.12998 I'm getting "The System.IO.File API is not available on this platform." from NJsonSchema.
Link to NJsonSchema class that trows the exception: https://github.com/RicoSuter/NJsonSchema/blob/master/src/NJsonSchema/Infrastructure/DynamicApis.cs
Can u give me some ideas about what happened in the new version, that breaks NJsonSchema?
_Originally posted by @Planche95 in https://github.com/Azure/app-service-announcements-discussions/issues/139#issuecomment-588969461_
@Planche95 could you please provide more information about the Functions SDK version you're using? Do you happen to h ave a repro you can share?
/cc @brettsam
We identified an issue that was introduced with the last release. We're working on a hotfix and, in the meantime, you can explicitly pin the runtime to the previous version by setting the FUNCTIONS_EXTENSION_VERSION app setting to 2.0.12961
This has been resolved an globally patched. The workaround above is no longer required and you can set the app setting value to the default (~2).
Thank you for reporting this!
Most helpful comment
We identified an issue that was introduced with the last release. We're working on a hotfix and, in the meantime, you can explicitly pin the runtime to the previous version by setting the
FUNCTIONS_EXTENSION_VERSIONapp setting to2.0.12961