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

Adding local path (not nupkg) templates appear to overwrite each other (can only have one at a time) #3265

Closed
JustinGrote opened this issue Jun 9, 2021 · 4 comments
Labels
need-customer-info Requires feedback from author

Comments

@JustinGrote
Copy link

If have defined three templates:
path\to\template1
another\path\template2
third\path\template3

Adding the first template with dotnet new -i path\to\template1 will work fine. Adding the second subsequent template will cause the other one to disappear for some reason and now only show that template (in addition to the nupkg ones)

Demo:

Video.mp4
@vlada-shubina
Copy link
Member

hi @JustinGrote

what are groupIdentity, identity and precedence values in your templates?
Is it possible to share the templates so I can check them?

could you also share dotnet new -u and dotnet --info output?

thank you

@vlada-shubina vlada-shubina added the need-customer-info Requires feedback from author label Jun 9, 2021
@JustinGrote
Copy link
Author

Hi @vlada-shubina,

Confirmed dupe of #649, I had duplicate groupIdentity entries and misunderstood the purpose.

@JustinGrote
Copy link
Author

@vlada-shubina related to this, I think the schema needs to clarify what this is for better, this is not very clear. What are the "keys"? How do the "tags" influence? When does the "prompt" occur?
image

@vlada-shubina
Copy link
Member

@JustinGrote
I agree - the description looks confusing. We already have an issue to improve it (#2384), it's part of documentation improvements we are planning to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-customer-info Requires feedback from author
Projects
None yet
Development

No branches or pull requests

2 participants