P
Peter R. Fletcher
I am writing what amounts to a "front-end" for XCopy to help some of
my less computer literate clients implement some sort of sensible
backup strategy. It sets up the XCopy command line in the Arguments of
a Process component, starts it, and them waits for it to finish. There
are a fair number of bells and whistles, but none of them are causing
problems.
I eventually had everything apparently running perfectly in the Debug
Build, so I created a Release Build for final testing on a second
system. I didn't get to the second system - the Release Build failed
on my development system! It appears that, in the Release Build, the
XCopy Process starts normally (no exceptions are thrown, and and an
immediate check of .HasExited returns False) but subsequently (and
very quickly) exits without doing any copying (but with an exit code
of zero). All other components of the program work in the same way in
the Release Build as they do in the Debug Build (i.e. properly!)
Has anyone seen anything like this before? Where do I start in trying
to sort it out?
Please respond to the Newsgroup, so that others may benefit from the exchange.
Peter R. Fletcher
my less computer literate clients implement some sort of sensible
backup strategy. It sets up the XCopy command line in the Arguments of
a Process component, starts it, and them waits for it to finish. There
are a fair number of bells and whistles, but none of them are causing
problems.
I eventually had everything apparently running perfectly in the Debug
Build, so I created a Release Build for final testing on a second
system. I didn't get to the second system - the Release Build failed
on my development system! It appears that, in the Release Build, the
XCopy Process starts normally (no exceptions are thrown, and and an
immediate check of .HasExited returns False) but subsequently (and
very quickly) exits without doing any copying (but with an exit code
of zero). All other components of the program work in the same way in
the Release Build as they do in the Debug Build (i.e. properly!)
Has anyone seen anything like this before? Where do I start in trying
to sort it out?
Please respond to the Newsgroup, so that others may benefit from the exchange.
Peter R. Fletcher