scottd
26 Apr 2012, 2:17 PM
I just went to deploy my current project into a new directory, which does not yet exist. The deploy failed in a strange way:
1) Architect locked up for about 30 seconds
2) The deploy progress popup appeared. Instead of showing copied files, it showed the XCopy prompt which asked whether it was copying to a file or directory.
The tool should create the directory if it does not exist. Add the " /I " option to xcopy so that it will automatically treat the target as a directory. From the XCopy help:
/I If destination does not exist and copying more than one file,
assumes that destination must be a directory.
1) Architect locked up for about 30 seconds
2) The deploy progress popup appeared. Instead of showing copied files, it showed the XCopy prompt which asked whether it was copying to a file or directory.
The tool should create the directory if it does not exist. Add the " /I " option to xcopy so that it will automatically treat the target as a directory. From the XCopy help:
/I If destination does not exist and copying more than one file,
assumes that destination must be a directory.