开发者

Deploy Silverlight OOB with ClickOnce (like LightSwitch)

开发者 https://www.devze.com 2023-02-20 08:08 出处:网络
I know the limitations of WPF clickonce deployment versus SL OOB, however, in LightSwitch apps, there is a ClickOnce Package to deploy Silverlight OO开发者_开发问答B Apps.

I know the limitations of WPF clickonce deployment versus SL OOB, however, in LightSwitch apps, there is a ClickOnce Package to deploy Silverlight OO开发者_开发问答B Apps.

Is it possible to get the same behavior without using LightSwitch, say custom RIA app?


The user can right click on the silverlight control and install the app. If you want to force it, check in app.cs to see if the app is running out of browser, if it's not you can set the root visual to a splash screen with an install button. http://timheuer.com/blog/archive/2009/08/12/silverlight-out-of-browser-force-install-pattern.aspx

edit: I don't think you can deploy SL with ClickOnce.

http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/59f0925b-e912-45b1-ac46-330a3f72ca76

"ClickOnce deployment is designed for smart client applications, such as WinForms or WPF apps, or console applications. AFAIK it won't work for a Silverlight app, nor will it work for WCF services, unless you include them in a client application and have it host them itself."

0

精彩评论

暂无评论...
验证码 换一张
取 消