1
我的SharePoint 2010网站中的Silverlight webpart存在问题。 Silverlight应用程序在网站中效果很好,甚至不在浏览器中。我遇到的问题是如何自动更新浏览器应用程序。我目前有这样的:Silverlight退出SharePoint webpart中的浏览器
if (Application.Current.IsRunningOutOfBrowser)
{
App.Current.CheckAndDownloadUpdateCompleted += new CheckAndDownloadUpdateCompletedEventHandler(Current_CheckAndDownloadUpdateCompleted);
App.Current.CheckAndDownloadUpdateAsync();
}
void Current_CheckAndDownloadUpdateCompleted(object sender, CheckAndDownloadUpdateCompletedEventArgs e)
{
if (e.Error == null && e.UpdateAvailable)
{
MessageBox.Show("Application updated, please restart to apply changes.");
}
if (e.Error != null)
{
MessageBox.Show(e.Error.Message);
}
}
但它不运行时,它是SharePoint。我现在必须发送一封电子邮件给我的所有用户,他们可能会使用这个应用程序浏览器,并让他们卸载并重新安装。这与SharePoint如何使用安全性有关吗?当用户双击桌面图标打开oob应用程序时,它会提供凭证登录。我的猜测是这就是抛弃自动更新。
谢谢!