【发布时间】:2011-07-27 13:55:56
【问题描述】:
我正在尝试使用第三方程序集部署 .NET 3.5 应用程序。我可以毫无问题地创建 ClickOnce 安装程序。但是,当我尝试运行安装程序时,我收到以下消息:
无法启动应用程序:无法继续。应用程序格式不正确。请联系应用程序供应商寻求帮助。
这是错误日志的重要部分:
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of <my application path>.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from file <my application path>.exe.manifest: the manifest may not be valid or the file could not be opened.
+ Application manifest is not semantically valid.
+ Manifest identity has one or more invalid characters: ABISFoundationSDK_C#.
如您所见,SDK 身份名称中有一个井号 (#)。有没有办法可以更改 SDK 程序集的标识以删除井号?第三方提供商不太可能对程序集进行此更改。
【问题讨论】: