WPF应用程序消息框 [英] WPF application message box

查看:72
本文介绍了WPF应用程序消息框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经将WPF应用程序(A)部署到Windows应用程序服务器上并托管在IIS中.我从另一个WPF胖客户端应用程序(B)以编程方式访问此应用程序.

I've a WPF application(A) deployed on to a Windows app server and hosted in IIS. I programmatically access this application from another WPF thick client application(B).

从B启动应用程序A时,出现以下消息框(标题为启动应用程序"):

When the app A is launched from B,following message box(titled "Launching Application") comes up:

验证应用程序要求...这可能需要一个片刻...

有什么办法可以完全摆脱这个消息框吗?

Is there any way at all to get rid of this message box completely please?

谢谢.

推荐答案

当XBAP应用程序在启动之前检查更新时,将显示此对话框.如果您取消选中应用程序应检查更新",则Visual Studio中项目"->属性"->发布"->更新"下的复选框,然后重新发布您的 XBAP您应该摆脱它.如果您确实希望应用程序在启动之前检查更新,就无法摆脱它.

This dialog is shown when the XBAP application checks for updates before it starts. If you uncheck the "The application should check for updates" checkbox under Project->Properties->Publish->Updates in Visual Studio and re-publish your XBAP you should get rid of it. You cannot get rid it if you do want your application to check for updates before it starts though.

有关更多信息,请参考以下主题.

Please refer to the following thread for more information.

ClickOnce发布了从网络安装的应用程序,每次运行该应用程序时都会显示烦人的启动应用程序"窗口: http://stackoverflow.com/问题/4551647/clickonce已发布了一个从网络上显示的烦人发射程序安装的应用程序

ClickOnce published an application installed from web showing annoying "Launching Application" window every time I run it: http://stackoverflow.com/questions/4551647/clickonce-published-an-application-installed-from-web-showing-annoying-launchin

希望有帮助.

请记住,通过将有用的帖子标记为答案来关闭话题,然后在遇到新问题时开始新话题.请不要在同一线程中问几个问题.

Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't ask several questions in the same thread.


这篇关于WPF应用程序消息框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆