Skip to content

Possible to change naming and default value forms? #4500

Discussion options

You must be logged in to vote

@JohanPetersson which sourceName do you use in your template configuration?
By using unambiguous source name (as Template.1 from https://github.com/dotnet/templating/wiki/Naming-and-default-value-forms) you can control applied value forms.

In case you need safe namespace form to be applied in template content, use Template._1 in the content.
In case you need name as stated by user (identity form) in template content, use Template.1 in the content.

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by JohanPetersson
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@vlada-shubina
Comment options

@JohanPetersson
Comment options

@vlada-shubina
Comment options

@JohanPetersson
Comment options

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