2017-01-19 47 views
2

我的項目發佈C#項目運行Visual Studio中很好,但是當我發佈,並嘗試在同一開發計算機上它運行setup.exe,我得到一個錯誤:從Visual Studio 2015的無效清單

+ 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清單的簽名,這只是給了我一個不同的錯誤。

回答

1

在嘗試了數百萬件事情之後,例如以不同的方式簽署清單,使用不同版本的.NET刪除/添加可識別dpi的標誌到清單,等等,我設法通過從我的解決方案中刪除清單文件來解決它。驚人。