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++ 迭代器有什么问题? 2022-01-01
- 为什么 typeid.name() 使用 GCC 返回奇怪的字符以及如 2022-09-16
- GDB 显示调用堆栈上函数地址的当前编译二进制文 2022-09-05
- 为什么派生模板类不能访问基模板类的标识符? 2021-01-01
- 我应该对 C++ 中的成员变量和函数参数使用相同的名称吗? 2021-01-01
- 初始化列表*参数*评估顺序 2021-01-01
- 为什么 RegOpenKeyEx() 在 Vista 64 位上返回错误代码 2021-01-01
- 如果我为无符号变量分配负值会发生什么? 2022-01-01
- CString 到 char* 2021-01-01
- 非静态 const 成员,不能使用默认赋值运算符 2022-10-09
