我正在开发Microsoft Lync 2013对话窗口扩展。这是XAML应用程序。我需要在这个应用程序中显示html。
我找到了一个适用于浏览器(http://weblogs.asp.net/dwahlin/integrating-html-into-silverlight-applications)的好例子,但在Lync中它只打开100%加载圈的窗口。
这是用于向Lync添加应用程序的注册表
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\Lync\Security\Trusted Sites]
[HKEY_CURRENT_USER\Software\Microsoft\Office\Lync\Security\Trusted Sites\http://localhost/HTMLAndSilverlight.Web/HTMLAndSilverlightTestPage.aspx]
"https"=dword:00000000
"http"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Communicator\ContextPackages]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\ServerName]
"file"=dword:00000002
[HKEY_CURRENT_USER\Software\Microsoft\Communicator\ContextPackages\{2FF4307C-D205-490A-8CF5-3B4979E3ED96}]
"Name"="CWE Demo App"
"InternalURL"="http://localhost/HTMLAndSilverlight.Web/HTMLAndSilverlightTestPage.aspx"
"ExternalURL"="http://localhost/HTMLAndSilverlight.Web/HTMLAndSilverlightTestPage.aspx"
"InstallLink"="http://localhost/HTMLAndSilverlight.Web/HTMLAndSilverlightTestPage.reg"
"ExtensibilityWindowSize"=dword:00000000
简单案例的XAML应用程序正常工作。
我错过了什么?
答案 0 :(得分:0)
尝试
[HKEY_CURRENT_USER \ Software \ Microsoft \ Office \ Lync \ Security \ Trusted Sites \ localhost
(而不是完整的http://localhost/等)