c# - 从 Visual Studio 2015 发布 C# 项目无效 list

标签 c# visual-studio deployment clickonce monogame

我的项目在 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/

相关文章:

visual-studio - Visual Studio 解决方案文件夹作为真实文件夹

c# - 使用 SSIS 使用合并列取消透视数据 excel

visual-studio - 从 Visual Studio 部署单个 Azure Function

c# - web.config 转换不转换

c# - 将 2 个 LINQ 组合成一个调用

c# - 我可以回到不使用 ReSharper 的状态吗?

javascript - Async/Await 在 ASP.NET Core Controller 操作中没有按预期工作

sql-server - 使用 AT TIME ZONE 时无法构建针对 Azure SQL 数据库的 Visual Studio 数据库项目

.net - 在 IIS7 上部署 .net Web 服务时出现错误 403.14?

C++ linux 在部署环境中安装可执行文件