Okay, here is a partial answer, as it will not solve what you are doing
directly.
You can veil from the command line with the following post-build event
command line (project >> properties >> build events):
C:\CodeVeil\cve.exe $(TargetPath)
So, to veil and then copy the file to the location expected, you would use:
C:\CodeVeil\cve.exe $(TargetPath)
copy $(TargetDir)\Veiled\$(TargetFileName) $(TargetPath)
But you probably want to clean up the bogus veiled directory, so here is the
post-build with cleanup.
C:\CodeVeil\cve.exe $(TargetPath)
copy $(TargetDir)\Veiled\$(TargetFileName) $(TargetPath)
rmdir /s /q $(TargetDir)\Veiled
NOTE: There are options with COdeVeil that you may want to explore. By
default, it obfuscates, but it does not encrypt, so you should check out
this page:
http://tinyurl.com/28mp9d
This may lead you to do something like the following to ensure strings,
resources and blobs are encrypted:
C:\CodeVeil\cve.exe /ox+ /er+ /es+ /er+ $(TargetPath)
copy $(TargetDir)\Veiled\$(TargetFileName) $(TargetPath)
rmdir /s /q $(TargetDir)\Veiled
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss
or just read it:
http://gregorybeamer.spaces.live.com/
*************************************************
| Think outside the box!
|
*************************************************