Is there a way to get the deployment location of a Silverlight 5 application running in the browser in full trust mode? I want to be able to extract some DLL’s to the path and use them in the application, which apparently, Silverlight 5 supports.
I was planning to use an XBAP instead, but this seems to be dying a slow death, so SilverLight 5 seems the more logical option.
Any help would be greatly appreciated.
I am assuming that with ‘the deployment location of a Silverlight 5 application’ you are referring to where the Silverlight application is downloaded to on the client machine (not the website)
Even if extracting to the local folder would work I would not do it.
I’d have the Silverlight application download the XAP or DLLs. This way the Silverlight environment will keep those files in the cache and use them automatically when available and as long as there is no new version. You don’t need to use Silverlight 5 for this.