Add an option to the properties to NOT copy the References... just use the
path provided...
Reason: In our build automation, we have a References\EntLib.4.1\ folder
already established... we then point our NetTiers properties file to use
the same path.... Unfortunately the templates insist on copying their
versions over-top of the ones that are already there.... So we have to go
and perform a pre-codegen step to basically "attrib -r *.*" on that folder
otherwise CodeSmith/netTiers chokes on trying to overwrite the files...
At the completion of the codegen, we then have to ensure the original
contents are restored from TFS and the read-only attribute re-applied...
A simple "Copy References" toggle would eliminate two steps for us.
Also breaking out the NUnit reference would be highly desirable... This
again is due to our having an established \References\NUnit.##.##\ folder
and the desire is to re-use that reference and not overwrite it.
So call it 3 new properties...
Copy EntLib References (True\False)
NUnit Reference Path
Copy NUnit References (True/False)
After working with NetTiers for a few projects now, this has been an item
on our wish-list and I'm just now finally getting around to posting it...
Thanks!
Original issue reported on code.google.com by bh...@yahoo.com on 20 Aug 2009 at 7:26
Original issue reported on code.google.com by
bh...@yahoo.com
on 20 Aug 2009 at 7:26