plesae add a new property to Source template
Please add a new property to Source Template wich insert a code segment like %Unit% just without extension.
For example I have a unit: "Unit1.pas"
I use Source Template to insert %Unit% to code, and it insert this: 'Unit1.pas',
but I need this string: 'Unit1'.
Thanks for your suggestion. We'll consider this.
Can you add property %Version% or similar, that adds FileVersion of project. We have a lot of Source Template and for some comments we add FileVersion by hand.
It will be nice if there will be property for that.
Our latest nightly build version 781 is ready for these 2 new macros.
I use Delphi XE8 and with the last build(Ver: 188.8.131.523 Build 2015.12.12) on CnWizard and macro %ProjectVersion% did not work. I set for my project configuration only for "All COnfigurations" version info in section <PropertyGroup Condition="'$(Base)'!=''" >, but when I use this macro it add 184.108.40.206
I'll check this problem.
There's a problem when we retrieve version numbers from XE2 or above. Now we fix it and build a new nightly-build 807 version, could you help do download it and try again?
Powered by Discuz! Archiver 5.0.0
© 2001-2006 Comsenz Inc.
I test last nightly-build and everything is OK. Now it correct adds version info from macro %ProjectVersion%.