“ParseILMergeInfoTask"任务意外失败 [英] The "ParseILMergeInfoTask" task failed unexpectedly

查看:23
本文介绍了“ParseILMergeInfoTask"任务意外失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

程序在Debug配置中正常执行没有任何错误但是在Release配置中它抛出一个错误.

The program is executing properly without any error in Debug configuration But in Release configuration it throws an error.

The "ParseILMergeInfoTask" task failed unexpectedly.
System.Exception: File 'SharedAssemblyILMergeInfoFilePath' passed to argument 'x86\ret\SharedAssemblyILMergeInfo.csv' does not exist.
  at Microsoft.Build.ILTasks.ParseILMergeInfoTask.Execute()
  at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
  at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

我无法在 Release 配置中运行任何程序.它抛出同样的错误.

I can't run any program in Release configuration. It throws the same error.

更新

我想我发现了问题,但我不知道如何解决它.以前我有一个错误无法加载包'Microsoft.Net.Native.SharedLibrary-x64'.为了解决它,我遵循它

I think I found the problem but I don't know to resolve it. Previously I had an error Unable to load package 'Microsoft.Net.Native.SharedLibrary-x64'. To resolve it I follow it

推荐答案

由于 Internet 连接的问题.

It is a problem due to the Internet connection.

  1. 删除包即可C:\Users\ponvi\.nuget\packages\microsoft.net.native.sharedlibrary-x64
  2. 使用移动数据下载包.

rubStackOverflow 的另一个答案

Another answer by rubStackOverflow

非常奇怪的问题,就我而言,我不得不更改我的默认网络DNS(网卡)从 8.8.8.8 到 208.67.222.222.

Really strange issue, in my case, I had to change my default network DNS(network card) from 8.8.8.8 to 208.67.222.222.

这篇关于“ParseILMergeInfoTask"任务意外失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆