Board logo

Subject: plesae add a new property to Source template [Print This Page]

Author: fehernyul    Time: 2015-9-30 17:11     Subject: 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!!!
Author: Passion    Time: 2015-9-30 23:22

Thanks for your suggestion. We'll consider this.
Author: ukrainian    Time: 2015-10-1 16:44

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!!!
Author: Passion    Time: 2015-10-4 20:54

Our latest nightly build version 781 is ready for these 2 new macros.

Download:

http://www.cnpack.org/downbuilds.php
Author: ukrainian    Time: 2015-12-22 15:38

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
Author: Passion    Time: 2015-12-22 17:27

I'll check this problem.
Author: Passion    Time: 2015-12-28 20:29

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?

http://www.cnpack.org/downbuilds.php
Author: ukrainian    Time: 2015-12-29 03:45

Hi,
I test last nightly-build and everything is OK. Now it correct adds version info from macro %ProjectVersion%.
Thanks!




Welcome to CnPack Forum (http://bbs.cnpack.org/) Powered by Discuz! 5.0.0