Skip to content

Update dotnet new -i docs to document {package-id}::{version} syntax for installing specific template package versions #4545

Closed

Description

@danroth27

If you want to install a prerelease version of a template package you need to specify the version. By default dotnet new passes * for the version, which will only consider stable package versions. So you need to do something like dotnet new -i Foo.Templates::0.1.0-*.

Activity

  1. mairaw commented on Mar 2, 2018

    @mairaw
    Contributor

    Thanks @danroth27. This works with 2.0 too?

  2. danroth27 commented on Mar 3, 2018

    @danroth27
    MemberAuthor

    Yes.

    /cc @mlorbetske

  3. self-assigned this
    on Mar 3, 2018
  4. modified the milestones: Sprint 132 (2/24/18 - 3/16/18), on Mar 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions