未能添加最新的 3.2.4 npgsql nuget

failing to add latest 3.2.4 npgsql nuget

添加到我的 vs2015 update 3 安装中。到一个全新的控制台项目。

Attempting to gather dependency information for package 'Npgsql.3.2.4' with respect to project 'ConsoleApplication4', targeting '.NETFramework,Version=v4.5.2' Attempting to resolve dependencies for package 'Npgsql.3.2.4' with DependencyBehavior 'Lowest' Resolving actions to install package 'Npgsql.3.2.4' Resolved actions to install package 'Npgsql.3.2.4' Adding package 'System.Threading.Tasks.Extensions.4.3.0' to folder 'c:\users\paul.pmdev\documents\visual studio 2015\Projects\ConsoleApplication4\packages' Added package 'System.Threading.Tasks.Extensions.4.3.0' to folder 'c:\users\paul.pmdev\documents\visual studio 2015\Projects\ConsoleApplication4\packages' Added package 'System.Threading.Tasks.Extensions.4.3.0' to 'packages.config' Successfully installed 'System.Threading.Tasks.Extensions 4.3.0' to ConsoleApplication4 Adding package 'Npgsql.3.2.4' to folder 'c:\users\paul.pmdev\documents\visual studio 2015\Projects\ConsoleApplication4\packages' Added package 'Npgsql.3.2.4' to folder 'c:\users\paul.pmdev\documents\visual studio 2015\Projects\ConsoleApplication4\packages' Install failed. Rolling back... Package 'Npgsql.3.2.4 : System.Threading.Tasks.Extensions [4.3.0, )' does not exist in project 'ConsoleApplication4' Removed package 'System.Threading.Tasks.Extensions.4.3.0' from 'packages.config' Removing package 'Npgsql.3.2.4 : System.Threading.Tasks.Extensions [4.3.0, )' from folder 'c:\users\paul.pmdev\documents\visual studio 2015\Projects\ConsoleApplication4\packages' Removed package 'Npgsql.3.2.4 : System.Threading.Tasks.Extensions [4.3.0, )' from folder 'c:\users\paul.pmdev\documents\visual studio 2015\Projects\ConsoleApplication4\packages' Removing package 'System.Threading.Tasks.Extensions.4.3.0' from folder 'c:\users\paul.pmdev\documents\visual studio 2015\Projects\ConsoleApplication4\packages' Removed package 'System.Threading.Tasks.Extensions.4.3.0' from folder 'c:\users\paul.pmdev\documents\visual studio 2015\Projects\ConsoleApplication4\packages' Failed to add reference to 'System.Collections'. Please make sure that it is in the Global Assembly Cache.

在 npgsql 问题跟踪器上记录了一个错误:

https://github.com/npgsql/npgsql/issues/1604

此问题现已在 Nuget 上可用的 3.2.4.1 中修复。