Post-build event problem
-
I'm trying to execute the following command as a post-build event, but it continually fails. copy $(ProjectDir)Documentation\MyProgram.chm $(ProjectDir)$(OutDir) The project output indicates that the command and therefore the build failed. I closely examined the command string in the project output and it should work. I can run the same command from the command line with no problems. The command is defined in the Build Events tab of the project properties. (I've tried it as a pre-build event with the same effect.) The documentation is in a subfolder off the project folder and I don't want that folder in the output. For now, I'm going to have my documentation compile to the project folder but that is not a permanent solution. Any ideas of why this is occuring?
-
I'm trying to execute the following command as a post-build event, but it continually fails. copy $(ProjectDir)Documentation\MyProgram.chm $(ProjectDir)$(OutDir) The project output indicates that the command and therefore the build failed. I closely examined the command string in the project output and it should work. I can run the same command from the command line with no problems. The command is defined in the Build Events tab of the project properties. (I've tried it as a pre-build event with the same effect.) The documentation is in a subfolder off the project folder and I don't want that folder in the output. For now, I'm going to have my documentation compile to the project folder but that is not a permanent solution. Any ideas of why this is occuring?
I'm not familiar to that, but my lastly asked question is kind of related to your problem. I'm using the command
copy "$(InputPath)" "$(OutDir)"
within a custom build-step of a project-file. Works fine for me, except for the error message when the file allready exist ;) But I hope this will be solved soon.