sidewaffle - TemplateBuilder _preprocess - generate new guid as value -
i using sidewaffle templatebuilder create multi project solution. in 1 of projects have guid change during _preprocess generating new guid in place. like:
add key="base(new guid("{34bc9328-fc0d-4960-83b2-612b13de1514}"))" value="base(new guid("mynewguidhere"))"/>
how can done?
of course, after posting question, new angles , testing. found answer. easier 1 think.
there mechanisms doing built in template generation. more info on them check here template parameters.
but in short can use $guid1$
$guid10$
getting 10 unique guid's. in _preprocess file:
<add key="base(new guid("{34bc9328-fc0d-4960-83b2-612b13de1514}"))" value="base(new guid("$guid1$"))"/>
it simple :)
Comments
Post a Comment