CnPack Forum » CnWizards IDE Wizards » plesae add a new property to Source template


2015-9-30 17:11 fehernyul
plesae add a new property to Source template

Hi,

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!!!

2015-9-30 23:22 Passion
Thanks for your suggestion. We'll consider this.

2015-10-1 16:44 ukrainian
Hi,
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.

Thanks!!!

2015-10-4 20:54 Passion
Our latest nightly build version 781 is ready for these 2 new macros.

Download:

[url]http://www.cnpack.org/downbuilds.php[/url]

2015-12-22 15:38 ukrainian
Hi,
I use Delphi XE8 and with the last build(Ver: 1.0.9.803 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 1.0.0.0

2015-12-22 17:27 Passion
I'll check this problem.

2015-12-28 20:29 Passion
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?

[url]http://www.cnpack.org/downbuilds.php[/url]

2015-12-29 03:45 ukrainian
Hi,
I test last nightly-build and everything is OK. Now it correct adds version info from macro %ProjectVersion%.
Thanks!

页: [1]


Powered by Discuz! Archiver 5.0.0  © 2001-2006 Comsenz Inc.