我遇到了同样的问题。 VS 2010。
I had the same problem. VS 2010.
我做了几件事:
- 项目属性->
- 项目属性->发布选项卡->清除所有下划线(发布选项卡->选项...->描述->发布语言 =(默认)。 _)和发布路径中的空格字符()
- 从项目名称,项目路径,解决方案名称中删除所有下划线( _)和空格字符() ,解决方案路径
- 项目属性-> ApplicationTab->从程序集名称和默认名称空间中清除所有 _和空格()
- Project属性-> ApplicationTab->程序集信息->中性语言=(无)
- 项目属性->签名->取消选中这两个选项
- 项目属性->安全->选中广播这是一个完全信任的应用程序启用一次单击安全设置
- Project Properties -> Publish tab -> "Options..." -> "Description" -> "Publish language" = (Default).
- Project Properties -> Publish tab -> Wipe all underscores ("_") and space-characters (" ") from publish paths
- Wipe all underscores ("_") and space-characters (" ") from project name, project path, solution name, solution path
- Project Properties -> ApplicationTab -> Wipe all "_" and space (" ") from assembly name and default namespace
- Project Properties -> ApplicationTab -> Assembly Information -> Neutral language = (none)
- Project Properties -> Signing -> Unchecked both options
- Project Properties -> Security -> Checked "Enable Click Once Security settings" with radio "this is a full trust application"
现在,它的工作方式就像魅力。
Now its working like a charm.