we noticed a issue with updates of the ambient package repository if the changed file is closed.
The package repository is automatically updated if the file is loaded. However the infos are reverted when the document is closed, even when the changes are saved. To fix this issue we created a service that calls QueuePackageCacheUpdate() for the file after it was saved. But somehow this doesn't have any effect.
AmbientPackageRepositoryProvider.Repository.QueuePackageCacheUpdate( document.FullFilePath, isRootPath: true, recurse: false);
The same applies to external file changes. I am pretty sure this used to work, but I don't see how any of my changes might have an effect on this.
Best regards, Tobias Lingemann.