Severity Code Description Project File Line Suppression State
Warning MSB3268 The primary reference "C:\Users\Administrator\.nuget\packages\microsoft.bcl.async\1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll" could not be resolved because it has an indirect dependency on the framework assembly "System.Threading.Tasks, Version=1.5.11.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "C:\Users\Administrator\.nuget\packages\microsoft.bcl.async\1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll" or retarget your application to a framework version which contains "System.Threading.Tasks, Version=1.5.11.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". HttpTest C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 2106

在报错工程内添加配置文件

  <runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="Plugins;"/>
<dependentAssembly>
<assemblyIdentity name="System.Runtime" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
<bindingRedirect oldVersion="0.0.0.0-2.6.8.0" newVersion="2.6.8.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading.Tasks" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
<bindingRedirect oldVersion="0.0.0.0-2.6.8.0" newVersion="2.6.8.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>

最新文章

  1. Hibernate全套增删改查+分页
  2. GDB的Breakpoint, Watchpoint和Catchpoint
  3. Effective Java 16 Favor composition over inheritance
  4. How can I pretty-print JSON in python?
  5. linux web php 安全相关设置
  6. 【转载】NIO服务端序列图
  7. ubuntu安装XHProf
  8. UVA - 11400 Lighting System Design (区间DP)
  9. 用《内网穿山甲》把本地IIS中的站点共享到远程访问
  10. socket和抓包工具wireshark
  11. iOS原生自动布局NSLayoutConstraint
  12. Linux---基础指令(一)
  13. xclip for windows
  14. 一脸懵逼学习Hive的使用以及常用语法(Hive语法即Hql语法)
  15. vue-cli脚手架之webpack.test.conf.js
  16. ES系列十四、ES聚合分析(聚合分析简介、指标聚合、桶聚合)
  17. 【转载】linux下升级npm以及node
  18. Oracle RAC管理及维护命令详解
  19. 定时器setInterval, innerText获取文本, charAt()获取单个字符串, substring(1, content.length)获取范围内的字符串, 实现字符串的滚动效果
  20. http webservice socket的区别

热门文章

  1. Linux下安装mysql(2) 及常见问题解决(CentOS)
  2. AbsoluteLayout绝对布局
  3. muduo源代码分析--Reactor在模型muduo使用(两)
  4. OpenCV dll 源码调试—附加到进程
  5. Python经常使用内置函数介绍【filter,map,reduce,apply,zip】
  6. WPF中制作立体效果的文字或LOGO图形
  7. Atitit.Gui控制and面板----db数据库领域----- .比较数据库同步工具 vOa
  8. 右键计算机-&gt;属性-&gt;高级系统设置-&gt;高级-&gt;环境变量,添加环境变量(推荐)
  9. Scala(一) 环境搭建和HelloWorld
  10. 上传图片时,使用GDI+中重绘方式将CMYK图片转为RGB图片