Visual Studio 2013 Uppercase Project Template $ itemname $
Is there a way to capitalize the parameters of a Visual Studio project template?
For example change $safeprojectname$
to UPPERCASE.
+3
rxantos
source
to share
1 answer
You can write a template wizard extension . In RunStarted
you get a dictionary with a list of standard parameters, which should be replaced as
Dictionary<string, string> replacementsDictionary
Now you can go through the dictionary and do ToUpper or whatever:
foreach (var key in replacementsDictionary.Keys)
{
replacementsDictionary[key] = replacementsDictionary[key].ToUpper();
}
0
Mark
source
to share