【问题标题】:Publishing C# project from Visual Studio 2015 invalid manifest从 Visual Studio 2015 发布 C# 项目无效清单
【发布时间】:2017-01-19 11:38:17
【问题描述】:

我的项目在 Visual Studio 中运行良好,但是当我发布它并尝试在同一台开发计算机上为它运行 setup.exe 时,出现错误:

    + Exception reading manifest from file:///C:/Game/Application%20Files/F1_1_0_0_9/F1.exe.manifest: the manifest may not be valid or the file could not be opened.
    + Parsing and DOM creation of the manifest resulted in error. Following parsing errors were noticed: 
        -HRESULT:   0x8007001f
         Start line:    0
         Start column:  0
         Host file:     
    + A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F)

我尝试禁用 ClickOnce 清单的签名,这只是给我一个不同的错误。

【问题讨论】:

    标签: c# visual-studio deployment clickonce monogame


    【解决方案1】:

    在尝试了一百万种不同的方式(例如以不同方式签署清单、在清单中删除/添加 dpi 感知标志、使用不同版本的 .NET 等)之后,我设法通过从我的解决方案中删除清单文件来解决它。太棒了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-09-27
      • 2016-04-12
      • 1970-01-01
      • 1970-01-01
      • 2023-03-09
      • 1970-01-01
      • 1970-01-01
      • 2016-03-29
      相关资源
      最近更新 更多