-
Notifications
You must be signed in to change notification settings - Fork 368
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
Groupidentity not validated, improve documentation about requiredness of template.json fields #2384
Labels
area: doc
The issue requires documentation update, not a code change.
Priority:2
Work that is important, but not critical for the release
triaged
The issue was evaluated by the triage team, placed on correct area, next action defined.
Milestone
Comments
genalt
added
the
triaged
The issue was evaluated by the triage team, placed on correct area, next action defined.
label
May 27, 2020
vlada-shubina
added
the
area: doc
The issue requires documentation update, not a code change.
label
Jul 27, 2021
YuliiaKovalova
added
the
Priority:2
Work that is important, but not critical for the release
label
May 16, 2023
Using
|
I recently used I don't know if this is the intended use, but it would be great to have this area of templating documented. |
vlada-shubina
added a commit
to vlada-shubina/templating
that referenced
this issue
Jul 14, 2023
1 task
vlada-shubina
added a commit
to vlada-shubina/templating
that referenced
this issue
Jul 14, 2023
vlada-shubina
added a commit
to vlada-shubina/templating
that referenced
this issue
Jul 14, 2023
vlada-shubina
added a commit
to vlada-shubina/templating
that referenced
this issue
Jul 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: doc
The issue requires documentation update, not a code change.
Priority:2
Work that is important, but not critical for the release
triaged
The issue was evaluated by the triage team, placed on correct area, next action defined.
Using the same
groupIdentity
in two different templates, but not providing anytags
, its possible to pack a nuget template and publish it. I.e. there are no warnings or errors shown.However when trying to create one of theses templates, via
dotnet new
the following error is shown:Couldn't find an installed template that matches the input, searching online for one that does...
(no user input is triggered).
Steps to reproduce
Create two templates with same groupIdentity but no tags.
Possible solutions
Improve the documentation https://github.com/dotnet/templating/wiki/Reference-for-template.json. It is unclear that
groupIdentity
andtags
should be used together (I also just assume this by my observations). It is also unclear ifgroupIdentity
is a required property or not. This is also true for all other properties. Ideally there should be a column, that states for each property the requiredness.Also when creating the template and some point the should happen some validation. I.e. when running
nuget pack
ornuget push
The text was updated successfully, but these errors were encountered: