Silverlight OOB Application Path Portability
Silverlight Out-of-browser applications get installed to a seemingly random l开发者_如何学运维ocation:
AppData\LocalLow\Microsoft\Silverlight\OutOfBrowser\2333572144.www.microsoft.com
for example.
Currently, I am simply storing this path, which works perfectly well on a single machine and a single install, but how can I refer to this application between different installations?
You shouldn't access the path outside of the isolated storage interface in the application, the path isn't necessarily portable.
In case anyone else is interested:
I was able to use the OriginalSourceUri property in the Silverlight app's metadata to uniquely identify and locate apps in an installation-directory-agnostic way.
精彩评论