我对后期构建事件不是很熟悉,所以我的程序出了什么问题让我感到有点困惑。在Visual Studio 2010中编译时,我得到以下输出:
The command "xcopy C:\Users\Me\Path\Foo.bar\Library\dsoframer.ocx C:\Users\Me\Path\Foo.bar\bin\Debug\ /Y /E /D
xcopy C:\Users\Me\Path\Foo.bar\ApplicationFiles C:\Users\Me\Path\Foo.bar\bin\Debug\ /Y /E /D
xcopy C:\Users\Me\Path\url\ C:\Users\Me\Path\Foo.bar\bin\Debug\ /Y /E /D
rmdir /S /Q C:\Users\Me\Path\Foo.bar\bin\Debug\.gwt-tmp" exited with code 4.
尽管出现了这个错误,但程序似乎运行正常,但我不想忽略这个问题并希望没有任何坏事发生。奇怪的是,这一行最初只是一个单独的命令(第一个xcopy),但随着我继续编译项目(主要是修复其他问题,大多是引用方面),错误消息变得越来越大。有什么想法是怎么回事吗?
编辑:这里是似乎失败的后构建事件--
xcopy $(ProjectDir)Library\dsoframer.ocx $(TargetDir) /Y /E /D
xcopy $(ProjectDir)ApplicationFiles $(TargetDir) /Y /E /D
xcopy $(SolutionDir)com.myUrl.gwt\www $(TargetDir) /Y /E /D
rmdir /S /Q $(TargetDir).gwt-tmp