Copied to clipboard

Flag this post as spam?

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


  • Ault Nathanielsz 87 posts 407 karma points c-trib
    Aug 26, 2021 @ 08:45
    Ault Nathanielsz
    0

    Falling before the first hurdle - faulty instructions?

    I'm following the instructions here: https://our.umbraco.com/Documentation/Fundamentals/Setup/Install/install-umbraco-with-templates

    On step 2 (dotnet new -i Umbraco.Templates::*) results in the same list of templates as dotnet new -all. Needless to say, Umbraco does not feature.

    Is there a typo in the instructions?

  • Kevin Jump 2348 posts 14896 karma points MVP 8x c-trib
    Aug 26, 2021 @ 09:02
    Kevin Jump
    101

    Hi

    I think the instructions will work when Umbraco 9.0 is released, but at the moment its only in release candidate so you have to put in the version...

    dotnet new -i Umbraco.Templates::9.0.0-rc002
    
  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Aug 26, 2021 @ 09:58
    Sebastiaan Janssen
    0

    Hmm, strange that definitely worked on a fresh VM for me just now:

    enter image description here

    It is only necessary to specify the version for the nightlies I believe, but they also require a different myget feed.

    I'm curious what happens if you do dotnet new --uninstall Umbraco.Templates and then try dotnet new -i Umbraco.Templates::* again, you should see something similar to the screenshot above?

  • Ault Nathanielsz 87 posts 407 karma points c-trib
    Sep 10, 2021 @ 14:52
    Ault Nathanielsz
    0

    Perhaps I am doing it wrong? Very new to command line.

    Perhaps I'm doing it wrong?

  • Dan 1288 posts 3942 karma points c-trib
    Sep 08, 2021 @ 10:38
    Dan
    1

    FWIW I get the same thing. When I run dotnet new -i Umbraco.Templates::* it just outputs a list of the installed templates (exactly the same output as when running dotnet new -all) and it's not showing any Umbraco packages in there.

    Running dotnet new --uninstall Umbraco.Templates yields: Could not find something to uninstall called 'Umbraco.Templates'.

    Finally, specifying the version works, as per Kevin's answer above.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies