|
-
April 16th, 2011, 04:58 PM
#1
post build conditions
Hi ive just started using build events so im not very good at it yet, ive managed to rename an assembly once compiled like this
rename $(TargetFileName) $(TargetName).customextention
which changes the extention from .exe/.dll to .customextention
however once compiled and renamed, when i compile my solution without making changes to that project i get an error saying it cant rename a file that isnt there. so my question is how do i do something like this which doesnt work
if Exists $(TargetFileName) rename $(TargetFileName) $(TargetName).customextention
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|