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:我该如何解决这个问题?
基础教程推荐
- c++ STL设置差异 2022-01-01
- 与 CAS 的原子交换(使用 gcc 同步内置函数) 2022-01-01
- 随机插入/删除的综合向量与链表基准 2022-01-01
- 将不可复制的闭包对象传递给 std::function 参数 2021-01-01
- 如何更改 SysDateTimePick32 或 CDateTimeCtrl 的背景颜色? 2022-01-01
- 提升 ASIO 流缓冲 2021-01-01
- 如何在 C++ 中正确使用命名空间? 2022-01-01
- 为什么我们不能使用“虚拟继承"?在 COM 中? 2022-01-01
- 如何部分禁用 cmake C/C++ 自定义编译器检查 2021-01-01
- C++:获取传递给函数的多维数组的行大小 2021-01-01
