我的项目在 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 list 签名,但这只会给我带来不同的错误。
最佳答案
在尝试了一百万次尝试后,例如以不同方式签署 list 、在 list 中删除/添加 dpi 感知标志、使用不同版本的 .NET 等,我只需从解决方案中删除 list 文件即可解决该问题。太棒了。
关于c# - 从 Visual Studio 2015 发布 C# 项目无效 list ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41740881/