Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon B. Nielsen 6 posts 26 karma points
    Aug 20, 2015 @ 08:35
    Simon B. Nielsen
    0

    Umbraco and Google APIs Client Library

    I am trying to install Google's API using nuget but it seems there's a problem with Umbraco and the newest Newtonsoft JSON package.

    Attempting to resolve dependency 'Google.Apis.Core (≥ 1.9.3)'.
    Attempting to resolve dependency 'Microsoft.Bcl (≥ 1.1.10)'.
    Attempting to resolve dependency 'Microsoft.Bcl.Build (≥ 1.0.14)'.
    Attempting to resolve dependency 'Microsoft.Bcl.Async (≥ 1.0.168)'.
    Attempting to resolve dependency 'Microsoft.Bcl.Build (≥ 1.0.21)'.
    Attempting to resolve dependency 'Microsoft.Net.Http (≥ 2.2.29)'.
    Attempting to resolve dependency 'Newtonsoft.Json (≥ 7.0.1)'.
    Attempting to resolve dependency 'log4net (≥ 2.0.3)'.
    Attempting to resolve dependency 'Zlib.Portable.Signed (≥ 1.11.0)'.
    Installing 'Microsoft.Bcl 1.1.10'.
    You are downloading Microsoft.Bcl from Microsoft, the license agreement to which is available at http://go.microsoft.com/fwlink/?LinkId=329770. 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.1.10'.
    Installing 'Microsoft.Bcl.Async 1.0.168'.
    You are downloading Microsoft.Bcl.Async from Microsoft, the license agreement to which is available at http://go.microsoft.com/fwlink/?LinkId=329770. 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.168'.
    Installing 'Microsoft.Bcl.Build 1.0.21'.
    You are downloading Microsoft.Bcl.Build from Microsoft, the license agreement to which is available at http://go.microsoft.com/fwlink/?LinkId=329770. 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.21'.
    Installing 'Microsoft.Net.Http 2.2.29'.
    You are downloading Microsoft.Net.Http from Microsoft, the license agreement to which is available at http://go.microsoft.com/fwlink/?LinkId=329770. 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.2.29'.
    Installing 'Newtonsoft.Json 7.0.1'.
    Successfully installed 'Newtonsoft.Json 7.0.1'.
    Installing 'Google.Apis.Core 1.9.3'.
    Successfully installed 'Google.Apis.Core 1.9.3'.
    Installing 'log4net 2.0.3'.
    Successfully installed 'log4net 2.0.3'.
    Installing 'Zlib.Portable.Signed 1.11.0'.
    You are downloading Zlib.Portable.Signed 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.Signed 1.11.0'.
    Installing 'Google.Apis 1.9.3'.
    Successfully installed 'Google.Apis 1.9.3'.
    Install failed. Rolling back...
    Install-Package : Updating 'Newtonsoft.Json 6.0.5' to 'Newtonsoft.Json 7.0.1' failed. Unable to find versions of 'UmbracoCms.Core, UmbracoCms' that are compatible with 'Newtonsoft.Json 7.0.1'.
    At line:1 char:17
    + Get-Project www|Install-Package Google.Apis
    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
        + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
    

    Does anyone know if I can solve this easily somehow?

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Aug 20, 2015 @ 13:29
    David Brendel
    0

    Hi Simon,

    I think the only way is to install a version oft the Google API that relys on 6.x of newtonsoft.

    Regards David

Please Sign in or register to post replies

Write your reply to:

Draft