为什么在Visual Studio后期生成步骤代码9009 XCOPY出口? [英] Why does xcopy exit with code 9009 in Visual Studio post-build step?

查看:1759
本文介绍了为什么在Visual Studio后期生成步骤代码9009 XCOPY出口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误,我不明白。任何建议




错误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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆