Microsoft.CrmSdk.XrmTooling.CoreAssembly v9.1.0.26 onwards (released 18 Dec 2019) requires Newtonsoft.Json v10.0.0.3, which is later than the Newtonsoft.Json 9.0.3 provided by Azure Functions v1 runtime.
If we install a later version of Newtonsoft.Json 10.0.3 to allow installation of XrmTooling v9.1.0.51 (latest) we get the following errors warnings during build:
1>------ Build started: Project: FunctionApp12, Configuration: Debug Any CPU ------
1>C:\dev\ABC\FunctionApp12\FunctionApp12.csproj : warning NU1608: Detected package version outside of dependency constraint: Microsoft.NET.Sdk.Functions 1.0.37 requires Newtonsoft.Json (= 9.0.1) but version Newtonsoft.Json 10.0.3 was resolved.
1>FunctionApp12 -> C:\dev\ABC\FunctionApp12\bin\Debug\net462\bin\FunctionApp12.dll
1>Done building project "FunctionApp12.csproj".
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Using a later version of Newtonsoft.Json causes any serialisation within Azure Functions V1 to fail. This means we can't use:
Due to the above, we're stuck on version Microsoft.CrmSdk.XrmTooling.CoreAssembly v9.1.0.21.
Is the latest version of XrmTooling (9.1.0.51) supported on Azure Functions V1?
n.b. the above also applies to the alpha CdsServiceClient, see issue 52
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
1 |