Copied to clipboard

Flag this post as spam?

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


  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Dec 19, 2017 @ 16:18
    Dan Diplo
    2

    Nuget Version not Installing

    Hi Soren!

    I just tried to install the latest Nuget version - skttl.Umbraco.SvgIconPicker -Version 1.1.1 - of your great package into a 7.7.6 Umbraco install. It completed the installation without errors, but it doesn't seem to have added the property editor. There's no /SvgIconPicker folder created in /App_Plugins/ - it's just empty. It's added the package to packages.config fine, though.

    If I copy this folder manually to /App_Plugins then all works perfect - so it seems something in the NuGet installation isn't quite working (at least for me).

    NuGet reported:

    Attempting to gather dependency information for package 'skttl.Umbraco.SvgIconPicker.1.1.1' with respect to project 'FrsTraining.Umbraco', targeting '.NETFramework,Version=v4.5.2'
    Gathering dependency information took 7.22 sec
    Attempting to resolve dependencies for package 'skttl.Umbraco.SvgIconPicker.1.1.1' with DependencyBehavior 'Lowest'
    Resolving dependency information took 0 ms
    Resolving actions to install package 'skttl.Umbraco.SvgIconPicker.1.1.1'
    Resolved actions to install package 'skttl.Umbraco.SvgIconPicker.1.1.1'
    Retrieving package 'skttl.Umbraco.SvgIconPicker 1.1.1' from 'nuget.org'.
    Adding package 'skttl.Umbraco.SvgIconPicker.1.1.1', which only has dependencies, to project 'FrsTraining.Umbraco'.
    Adding package 'skttl.Umbraco.SvgIconPicker.1.1.1' to folder 'C:\Projects\MyWebsite\packages'
    Added package 'skttl.Umbraco.SvgIconPicker.1.1.1' to folder 'C:\Projects\MyWebsite\packages'
    Added package 'skttl.Umbraco.SvgIconPicker.1.1.1' to 'packages.config'
    Successfully installed 'skttl.Umbraco.SvgIconPicker 1.1.1' to MyWebsite.Umbraco
    Executing nuget actions took 794.84 ms
    Time Elapsed: 00:00:08.1456393
    

    Just thought I'd let you know. Apart from this, works fantastic!

  • Tom van Enckevort 107 posts 429 karma points
    Mar 21, 2018 @ 08:37
    Tom van Enckevort
    0

    I just noticed the same problem. When looking at the nuspec file from the package it doesn't look like the App_Plugins folder gets added in a content folder in the NuGet package, which then means it doesn't get copied over when the NuGet package gets installed.

    I assume the config files in the Github repo are used to generate the NuGet package? If so, I'm happy to submit a PR for the changes?

  • Tom van Enckevort 107 posts 429 karma points
    Mar 21, 2018 @ 13:57
    Tom van Enckevort
    0

    Just pulled down the source and ran the build, and the generated NuGet package does include the files in the right place (inside the content folder, which is different from the current live NuGet package).

    But the version number it generates is v0.1.0, so I'm not sure if the code on GitHub is completely up-to-date?

  • shinsuke nakayama 109 posts 250 karma points
    Mar 27, 2018 @ 03:57
    shinsuke nakayama
    0

    Thanks guys,

    Also had this issue but copying file to the "App_Plugins" worked.

  • Dmitriy 168 posts 588 karma points
    Sep 18, 2018 @ 12:35
    Dmitriy
    0

    Hi, Soren

    Still the same problem :(

    Dan, you can flag as answer of shinsuke nakayama. It fixed the problem.

  • Dan 65 posts 209 karma points
    Jan 23, 2019 @ 16:19
    Dan
    0

    This problem is still there, maybe we can get the NuGet package to be updated?

Please Sign in or register to post replies

Write your reply to:

Draft