c# - Visual Studio 2008 custom class item template, $safeprojectname$ not reconciling -
Just set up some quick square and object item templates and all this is working very well, but one thing I I'm stuck in the $ secure project name $
template parameter.
I've added it as part of the namespace part and $ Registered organization organizational $
is working fine
namespace $ Registered organization $ $ Secure project name $ {public class $ security name $ {public $ security name $ ()} {// default constructor}}}
and I have gone into 'wistlelettile file' and it Ensured that is ReplaceParameters = "true"
, that's why I have only guessed at this point that there is a period between the company and the project name, so I tested it laughing this period Removed, still not.
Edit : I accept Jared's answer because it answers my main question, "Why is not this working?" But I'm adding to this follow-up action to find out how I got my desired result, instead of using $ secureprojectname $
or $ projectname $
I found out that < Strong> $ rootnamespace $
namespace $ registered organization organizational $. $ Rootnamespace $
Or depends on how your project is named:
Namespace $ rootnamespace $
< P> works as I wanted, just for someone else who added this issue that could come to this point.
$ secure projectname $
template replacement macro is only available from the new project dialog Anything added as a separate item will not work
Reference:
Comments
Post a Comment