468,267 Members | 1,960 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,267 developers. It's quick & easy.

varying executable name based on conditional compilation

Is there any way to specify a different executable name for my project
based on value that I have set in my conditional compilation constant.
For eg:
If I have FIRST specified in my conditional compilation constant then I
would like the executable to be XYZ.exe and if nothing is specified
then the executable should be ABC.exe.

Any ideas appreciated.
Thanks in advance.

Feb 14 '06 #1
1 1357
Hi,

Maybe you could use post build events in order to rename project output if
condition is met. Check:

http://www.dotnetslackers.com/Visual...tudio_NET.aspx

Regards - Octavio
"lavu" <th******@yahoo.com> escribió en el mensaje
news:11**********************@g44g2000cwa.googlegr oups.com...
Is there any way to specify a different executable name for my project
based on value that I have set in my conditional compilation constant.
For eg:
If I have FIRST specified in my conditional compilation constant then I
would like the executable to be XYZ.exe and if nothing is specified
then the executable should be ABC.exe.

Any ideas appreciated.
Thanks in advance.

Feb 14 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

17 posts views Thread by Filipe Martins | last post: by
11 posts views Thread by Steven T. Hatton | last post: by
12 posts views Thread by wanghz | last post: by
2 posts views Thread by FireStarter | last post: by
4 posts views Thread by Bob | last post: by
6 posts views Thread by maxwell | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.