Copied to clipboard

Flag this post as spam?

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


  • Carl Sjöholm 37 posts 269 karma points
    Oct 01, 2021 @ 04:36
    Carl Sjöholm
    0

    Templates for Umbraco 9 not getting installed

    When I try to install the templates using 'dotnet new -i Umbraco.Templates' nothing is happening. It's just listing the existing templates without installing anything.

    Cli install

    I do have the .NET 5 SDK installed, I've tried both PowerShell and regular Command prompt.

    Anyone have any idea?

  • Carl Sjöholm 37 posts 269 karma points
    Oct 01, 2021 @ 04:52
    Carl Sjöholm
    101

    I had to force nuget source for some reason.

    Maybe worth mentioning in some documentation?

    dotnet new --install Umbraco.Templates --nuget-source "https://api.nuget.org/v3/index.json" --interactive

  • Carl Sjöholm 37 posts 269 karma points
    Oct 01, 2021 @ 04:58
    Carl Sjöholm
    0

    It may have something to do with I have some nuget feeds that require username / password in an interactive way. Meaning cannot be stored in memory or otherwise along with the feeds.

Please Sign in or register to post replies

Write your reply to:

Draft