I am getting an error using the sample code (https://developers.arcgis.com/net/latest/wpf/guide/create-an-offline-map.htm) for creating an offline replica geodatabase:
"Job failed. Job error 22 User defined failure. Error while handling generate geodatabase job status. Job error 400 Failed to create replica. Multiple layers are referencing a dataset, which is not supported."
Even if I point the endpoint to a local ArcGIS Server feature service with only 1 layer in it I get the same error. If I create it with the same arguments within a web browser then it creates the replica on the server without issue.
Does anyone know a solution to this?
Thanks
Paul