What steps will reproduce the problem:
1. Go to package manager console
2. Type in: Install-Package Google.Apis.YouTube.v3 -Pre
3. Fail
I get this:
Attempting to resolve dependency 'Google.Apis (≥ 1.6.0-beta)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 5.0.5)'.
Attempting to resolve dependency 'Microsoft.Bcl (≥ 1.0.19)'.
Attempting to resolve dependency 'Microsoft.Bcl.Build (≥ 1.0.4)'.
Attempting to resolve dependency 'Microsoft.Bcl.Async (≥ 1.0.16)'.
Attempting to resolve dependency 'Microsoft.Net.Http (≥ 2.1.10)'.
Attempting to resolve dependency 'Zlib.Portable (≥ 1.9.2)'.
Attempting to resolve dependency 'Google.Apis.Auth (≥ 1.6.0-beta)'.
Successfully installed 'Newtonsoft.Json 5.0.8'.
You are downloading Microsoft.Bcl.Build from Microsoft, the license agreement
to which is available at http://go.microsoft.com/fwlink/?LinkID=296407. Check
the package for additional dependencies, which may come with their own license
agreement(s). Your use of the package and dependencies constitutes your
acceptance of their license agreements. If you do not accept the license
agreement(s), then delete the relevant components from your device.
Successfully installed 'Microsoft.Bcl.Build 1.0.10'.
You are downloading Microsoft.Bcl from Microsoft, the license agreement to
which is available at http://go.microsoft.com/fwlink/?LinkID=296435. Check the
package for additional dependencies, which may come with their own license
agreement(s). Your use of the package and dependencies constitutes your
acceptance of their license agreements. If you do not accept the license
agreement(s), then delete the relevant components from your device.
Successfully installed 'Microsoft.Bcl 1.0.19'.
You are downloading Microsoft.Bcl.Async from Microsoft, the license agreement
to which is available at http://go.microsoft.com/fwlink/?LinkID=296434. Check
the package for additional dependencies, which may come with their own license
agreement(s). Your use of the package and dependencies constitutes your
acceptance of their license agreements. If you do not accept the license
agreement(s), then delete the relevant components from your device.
Successfully installed 'Microsoft.Bcl.Async 1.0.16'.
You are downloading Microsoft.Net.Http from Microsoft, the license agreement to
which is available at http://go.microsoft.com/fwlink/?LinkID=306162. Check the
package for additional dependencies, which may come with their own license
agreement(s). Your use of the package and dependencies constitutes your
acceptance of their license agreements. If you do not accept the license
agreement(s), then delete the relevant components from your device.
Successfully installed 'Microsoft.Net.Http 2.1.10'.
You are downloading Zlib.Portable from AdvancedREI, onovotny, the license
agreement to which is available at http://en.wikipedia.org/wiki/Zlib_License.
Check the package for additional dependencies, which may come with their own
license agreement(s). Your use of the package and dependencies constitutes your
acceptance of their license agreements. If you do not accept the license
agreement(s), then delete the relevant components from your device.
Successfully installed 'Zlib.Portable 1.9.2'.
Successfully installed 'Google.Apis 1.6.0-beta'.
Successfully installed 'Google.Apis.Auth 1.6.0-beta'.
Successfully installed 'Google.Apis.YouTube.v3 1.6.0.87-beta'.
Successfully added 'Newtonsoft.Json 5.0.8' to Liker.
Successfully added 'Microsoft.Bcl.Build 1.0.10' to Liker.
Successfully uninstalled 'Microsoft.Bcl 1.0.19'.
Successfully uninstalled 'Microsoft.Bcl.Build 1.0.10'.
Successfully uninstalled 'Newtonsoft.Json 5.0.8'.
Install failed. Rolling back...
Install-Package : Could not install package 'Microsoft.Bcl 1.0.19'. You are
trying to install this package into a project that targets
'.NETFramework,Version=v2.0', but the package does not contain any assembly ref
erences that are compatible with that framework. For more information, contact
the package author.
At line:1 char:16
+ Install-Package <<<< Google.Apis.YouTube.v3 -Pre
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
I see something about .NET 2.0, does it not work on .NET 2.0 even though there
are specific packages for 4.0? I shall assume this to be a bug, so please, a
fix or workaround.
Original issue reported on code.google.com by thany81 on 10 Nov 2013 at 2:40
Original issue reported on code.google.com by
thany81
on 10 Nov 2013 at 2:40