且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

WPF ClickOnce已安装,但没有任何反应

更新时间:2023-12-02 19:54:46

我遇到了同样的问题。 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.