Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.2.1 is not discoverable #421

Closed
mexx opened this issue Jan 22, 2021 · 4 comments
Closed

Version 2.2.1 is not discoverable #421

mexx opened this issue Jan 22, 2021 · 4 comments

Comments

@mexx
Copy link

mexx commented Jan 22, 2021

I've tried to install the template by running

dotnet new -i SAFE.Template

However the template doesn't appear in the listing of the installed templates after the command run.

I've tried to create a new project with the template by running

dotnet new SAFE

The output of this command:

Couldn't find an installed template that matches the input, searching online for one that does...
Matches from template source: NuGet
-----------------------------------
Template name "SAFE-Stack Web App v2.2.0" (SAFE) from author "Tomasz Heimowski" in pack SAFE.Template
    To use this template, run the following command and try again:
        dotnet new -i SAFE.Template::2.2.0

For some reason the latest version 2.2.1 is not installed by the first command and not offered by the second one.
Looks like there is some defect in it.

@theimowski
Copy link
Member

Huh thanks for reporting that. Indeed I've screwed something up when pushing 2.2.1, I'll see if I can release a valid next version

@theimowski
Copy link
Member

Can you try 2.2.2?

@mexx
Copy link
Author

mexx commented Jan 25, 2021

Version 2.2.2 gets installed by:

dotnet new -i SAFE.Template

However it wasn't offered as update by:

dotnet new --update-check

and trying to create without installing offers still the version 2.2.0.

I don't know whether it's an issue in dotnet new or in the package.

@theimowski
Copy link
Member

I wasn't aware of the --update-check option in dotnet new - I'll need to look if there's a feature that SAFE template is not using.

trying to create without installing offers still the version 2.2.0

I think that's expected? You need to update the template manually to get latest bits, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants