WPF ClickOnce已安装,但没有任何反应 [英] WPF ClickOnce installs, but nothing happens

查看:116
本文介绍了WPF ClickOnce已安装,但没有任何反应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想知道外面是否有人发生过这种情况。我有一个使用ClickOnce发布的WPF应用程序。

Wondered if this has ever happened to anyone out there. I have a WPF application that I publish using ClickOnce.

到达ClickOnce链接后,我单击运行,并且该应用程序已安装在我的计算机上。但是,当我从开始菜单中单击该应用程序时,它会检查更新,然后什么也不做。

When the ClickOnce link is reached I click "Run" and the app is installed on my machine. However, when I click the application from the start menu, it checks for updates, then does nothing.

我缺少设置吗?

推荐答案

我遇到了同样的问题。 VS 2010。

I had the same problem. VS 2010.

我做了几件事:


  1. 项目属性->

  2. 项目属性->发布选项卡->清除所有下划线(发布选项卡->选项...->描述->发布语言 =(默认)。 _)和发布路径中的空格字符()

  3. 从项目名称,项目路径,解决方案名称中删除所有下划线( _)和空格字符() ,解决方案路径

  4. 项目属性-> ApplicationTab->从程序集名称和默认名称空间中清除所有 _和空格()

  5. Project属性-> ApplicationTab->程序集信息->中性语言=(无)

  6. 项目属性->签名->取消选中这两个选项

  7. 项目属性->安全->选中广播这是一个完全信任的应用程序启用一次单击安全设置

  1. Project Properties -> Publish tab -> "Options..." -> "Description" -> "Publish language" = (Default).
  2. Project Properties -> Publish tab -> Wipe all underscores ("_") and space-characters (" ") from publish paths
  3. Wipe all underscores ("_") and space-characters (" ") from project name, project path, solution name, solution path
  4. Project Properties -> ApplicationTab -> Wipe all "_" and space (" ") from assembly name and default namespace
  5. Project Properties -> ApplicationTab -> Assembly Information -> Neutral language = (none)
  6. Project Properties -> Signing -> Unchecked both options
  7. Project Properties -> Security -> Checked "Enable Click Once Security settings" with radio "this is a full trust application"

现在,它的工作方式就像魅力。

Now its working like a charm.

这篇关于WPF ClickOnce已安装,但没有任何反应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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