'Npgsql' already has a dependency defined for 'System.Threading.Tasks.Extensions'

坚强是说给别人听的谎言 提交于 2019-12-11 09:48:45

问题


Please help how to solve this?

'Npgsql' already has a dependency defined for 'System.Threading.Tasks.Extensions':

I've already installed package System.Threading.Tasks.Extensions -Version 4.4.0 Install-Package System.Threading.Tasks.Extensions -Version 4.4.0

even after that I am unable to overcome this issue.


回答1:


You can refresh the nupkg dll by downloading and copying it manually.

  • Go to: https://www.nuget.org/packages/Npgsql/
  • Click: Manual download option.
  • Open the nupkg downloaded file with a file extraction program like WinZip or WinRar.
  • Search for the dll in the path lib\net45\Npgsql.dll and copy.


来源:https://stackoverflow.com/questions/48923861/npgsql-already-has-a-dependency-defined-for-system-threading-tasks-extensions

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!