error MSB3073: How do I fix this?(错误 MSB3073:我该如何解决这个问题?)
问题描述
3>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppCommon.targets(113,5): error MSB3073: The command "copy "C:UsersjleeDesktop10_IPG2.7_4InitialPowerGadgetReleaseEnergyLib.dll" "C:UsersjleeDesktop10_IPG2.7_4InitialPowerGadgetBins32EnergyLib32.dll"
3>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppCommon.targets(113,5): error MSB3073: copy "C:UsersjleeDesktop10_IPG2.7_4InitialPowerGadgetEnergyDriverobjfre_win7_x86i386EnergyDriver.sys" "C:UsersjleeDesktop10_IPG2.7_4InitialPowerGadgetBins32"
3>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
我在网上研究,我认为这与相对路径有关;但我不确定.有人可以帮助解释什么是错误的以及如何解决这个问题吗?
I was researching online, I think it has to do something with relative pathing; but I'm not sure. Can someone help explain what is wrong and how to fix this?
推荐答案
对于遇到这个问题的其他人,我的问题是目标目录包含空格,即
For anyone else that comes across this question my problem was that the target directory contained spaces i.e.
C:UsersAdministratorDocumentsVisual Studio 2017projectslah
所以对我来说,解决方案是将 $(TargetDir)
用双引号括起来,即
So for me the solution was to wrap $(TargetDir)
in double quotes i.e.
copy ..
esources\* "$(TargetDir)" /Y
这篇关于错误 MSB3073:我该如何解决这个问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:错误 MSB3073:我该如何解决这个问题?


- 近似搜索的工作原理 2021-01-01
- Stroustrup 的 Simple_window.h 2022-01-01
- 从python回调到c++的选项 2022-11-16
- 静态初始化顺序失败 2022-01-01
- C++ 协变模板 2021-01-01
- 与 int by int 相比,为什么执行 float by float 矩阵乘法更快? 2021-01-01
- 使用/clr 时出现 LNK2022 错误 2022-01-01
- STL 中有 dereference_iterator 吗? 2022-01-01
- 一起使用 MPI 和 OpenCV 时出现分段错误 2022-01-01
- 如何对自定义类的向量使用std::find()? 2022-11-07