为什么在Visual Studio后期生成步骤代码9009 XCOPY出口? [英] Why does xcopy exit with code 9009 in Visual Studio post-build step?
问题描述
我收到以下错误,我不明白。任何建议
错误1命令XCOPYD:\Users\johndoe\Documents\Visual工作室2008\ Projects\MyProject\MyProject.Modules.Ribbon\bin\Debug\MyProject.Modules.Ribbon.dll
D:\Users\johndoe\Documents\Visual工作室2008\ Projects\MyProject\MyProject\bin\Debug\Modules\/ Y退出,代码为9009。MyProject.Modules.Ribbon
块引用>
解决方案找到我的答案:该命令有源和目标字符串之间换行。因此,视觉Sudio是把它当作两个命令。省去了换行解决了这个问题。
I am getting the following error, which I don't understand. Any suggestions?
Error 1 The command "xcopy "D:\Users\johndoe\Documents\Visual Studio 2008\Projects\MyProject\MyProject.Modules.Ribbon\bin\Debug\MyProject.Modules.Ribbon.dll" "D:\Users\johndoe\Documents\Visual Studio 2008\Projects\MyProject\MyProject\bin\Debug\Modules\" /Y" exited with code 9009. MyProject.Modules.Ribbon
解决方案Found my answer: The command had a line break between the source and destination strings. So, Visual Sudio was treating it as two commands. Eliminating the line break solved the problem.
这篇关于为什么在Visual Studio后期生成步骤代码9009 XCOPY出口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!