I was trying to add a layer from my file geodatabase using Pro SDK. Keep getting "Failed to add data, unsupported data type". I can manually add it to Pro without any issues. Any ideas?
Here are my codes:
await QueuedTask.Run(()=>
{
Uri uri = new Uri(sPrjDB + "\\Map\\Map.gdb\\Pipe");
LayerFactory.Instance.CreateLayer(uri, MapView.Active.Map);
});