Is there any possibility to close an MMPK file with .NET SDK? I mean, I open in my program the MMPK file in order to retrieve some data with MobileMapPackage.OpenAsync(path) method.
The file stays locked while the program is running because I am not able to found any method to close tha file and release it.
Is there any method to do that?
Thanks in advance
Currently there isn't a high level way to close a Mobile Map Paclage - but we have an issue in our backlog to support this in a future release. I have added your request to that issue.
I use a brute force approach loop through the layers, get the geodatabase and call Close on the Geodatabase objects.
Not sure what your issue is with locking, I have found even after calling close there still seems to be some lock on the files