Copied to clipboard

Flag this post as spam?

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


  • jeff mayer 122 posts 200 karma points
    Sep 23, 2014 @ 18:27
    jeff mayer
    0

    Issue with Nuget Install

    Hi Jeavon, Getting an error on an upgrade install of 7.16.  Any suggestions for me?

     

    Installing 'Microsoft.Net.Http 2.0.20710.0'.

    You are downloading Microsoft.Net.Http from Microsoft, the license agreement to which is available at http://www.microsoft.com/web/webpi/eula/MVC_4_eula_ENU.htm. 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.0.20710.0'.

    Installing 'Our.Umbraco.CoreValueConverters 2.1.0'.

    Successfully installed 'Our.Umbraco.CoreValueConverters 2.1.0'.

    Adding 'Microsoft.Net.Http 2.0.20710.0' to UmbracoAdvisor.

    Successfully added 'Microsoft.Net.Http 2.0.20710.0' to UmbracoAdvisor.

    Adding 'Our.Umbraco.CoreValueConverters 2.1.0' to UmbracoAdvisor.

    Install failed. Rolling back...

    Install-Package : Unable to uninstall 'Microsoft.Net.Http 2.0.20710.0' because 'Microsoft.AspNet.WebApi.Client 4.0.30506.0, UmbracoCms.Core 7.1.6' depend on it.

    At line:1 char:16

    + Install-Package <<<<  Our.Umbraco.CoreValueConverters

        + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException

     

        + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Sep 23, 2014 @ 18:39
    Jeavon Leopold
    0

    Hi Jeff,

    Have you installed Umbraco using NuGet also?

    Jeavon

  • jeff mayer 122 posts 200 karma points
    Sep 23, 2014 @ 19:11
    jeff mayer
    0

    Yes, but had to manually do an upgrade to 7.16 since Nuget didn't complete the upgrade. 

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Sep 23, 2014 @ 19:14
    Jeavon Leopold
    0

    Ah ok, you will need to update the packages.config and also all your assembly references for the updated versions then as the value converters package has a NuGet dependency on the UmbracoCms.Core v7.1.5 (or above)

  • jeff mayer 122 posts 200 karma points
    Sep 23, 2014 @ 19:18
    jeff mayer
    0

    Where would I update these? sorry if that sounds obvious

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Sep 23, 2014 @ 19:19
    Jeavon Leopold
    0

    Actually, what version of UmbracoCms.Core is listed in your packages.config currently?

  • jeff mayer 122 posts 200 karma points
    Sep 23, 2014 @ 19:23
    jeff mayer
    0

    What's the path for this?

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Sep 23, 2014 @ 19:27
    Jeavon Leopold
    0

    It should be in the same place as your csproj file?

  • jeff mayer 122 posts 200 karma points
    Sep 23, 2014 @ 19:35
    jeff mayer
    0

    Maybe this isn't right but this is the full contents of the packages.config file in the root

     

    <?xml version="1.0" encoding="utf-8"?>

    <packages>

      <package id="HtmlAgilityPack" version="1.4.6" targetFramework="net45" />

      <package id="jQuery" version="1.9.0" targetFramework="net45" />

      <package id="jQuery.Migrate" version="1.2.1" targetFramework="net45" />

    </packages>

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Sep 23, 2014 @ 19:39
    Jeavon Leopold
    0

    It might, it depends on how you have structured your solution in Visual Studio...?

  • jeff mayer 122 posts 200 karma points
    Sep 23, 2014 @ 19:47
    jeff mayer
    0

    Do you have a copy of what it would look like?

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Sep 23, 2014 @ 20:44
    Jeavon Leopold
    0

    I would expect it to be something like this

Please Sign in or register to post replies

Write your reply to:

Draft